print version on startup
parent
2ebd108f43
commit
7fb560acb1
5
main.js
5
main.js
|
@ -25,7 +25,10 @@ $(document).ready(function() {
|
||||||
|
|
||||||
$('#frame .close').click(function() {
|
$('#frame .close').click(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');
|
||||||
|
|
Loading…
Reference in New Issue