remove forgotten frame hooks

10.3.x-maintenance
cTn 2014-04-19 22:44:51 +02:00
parent 5deb48f6cb
commit e5d2f77f09
1 changed files with 0 additions and 13 deletions

13
main.js
View File

@ -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>, ' +