print version on startup
parent
2ebd108f43
commit
7fb560acb1
3
main.js
3
main.js
|
@ -27,6 +27,9 @@ $(document).ready(function() {
|
||||||
chrome.app.window.current().close();
|
chrome.app.window.current().close();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// alternative - window.navigator.appVersion.match(/Chrome\/([0-9.]*)/)[1];
|
||||||
|
GUI.log('Running - <strong>Configurator</strong>: ' + chrome.runtime.getManifest().version + ', <strong>Chrome</strong>: ' + window.navigator.appVersion.replace(/.*Chrome\/([0-9.]*).*/,"$1"));
|
||||||
|
|
||||||
// Tabs
|
// Tabs
|
||||||
var tabs = $('#tabs > ul');
|
var tabs = $('#tabs > ul');
|
||||||
$('a', tabs).click(function() {
|
$('a', tabs).click(function() {
|
||||||
|
|
Loading…
Reference in New Issue