print version on startup

10.3.x-maintenance
cTn 2014-02-03 06:21:26 +01:00
parent 2ebd108f43
commit 7fb560acb1
1 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,10 @@ $(document).ready(function() {
$('#frame .close').click(function() {
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
var tabs = $('#tabs > ul');