remove forgotten frame hooks
parent
5deb48f6cb
commit
e5d2f77f09
13
main.js
13
main.js
|
@ -18,19 +18,6 @@ $(document).ready(function() {
|
|||
// translate to user-selected language
|
||||
localize();
|
||||
|
||||
// bind controls
|
||||
$('#frame .minimize').click(function() {
|
||||
chrome.app.window.current().minimize();
|
||||
});
|
||||
|
||||
$('#frame .maximize').click(function() {
|
||||
chrome.app.window.current().maximize();
|
||||
});
|
||||
|
||||
$('#frame .close').click(function() {
|
||||
chrome.app.window.current().close();
|
||||
});
|
||||
|
||||
// alternative - window.navigator.appVersion.match(/Chrome\/([0-9.]*)/)[1];
|
||||
GUI.log('Running - OS: <strong>' + GUI.operating_system + '</strong>, ' +
|
||||
'Chrome: <strong>' + window.navigator.appVersion.replace(/.*Chrome\/([0-9.]*).*/,"$1") + '</strong>, ' +
|
||||
|
|
Loading…
Reference in New Issue