1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:05:56 +00:00

migrate tt-rss.js contents to App

This commit is contained in:
Andrew Dolgov
2018-12-01 21:51:00 +03:00
parent ab0fadf60d
commit cc26be0793
8 changed files with 654 additions and 678 deletions

View File

@@ -65,7 +65,7 @@ const App = {
});
},
initSecondStage: function() {
document.onkeydown = this.hotkeyHandler;
document.onkeydown = () => { App.hotkeyHandler(event) };
Utils.setLoadingProgress(50);
notify("");
@@ -111,8 +111,11 @@ const App = {
console.log("unhandled action: " + action_name + "; keycode: " + event.which);
}
}
},
isPrefs: function() {
return true;
}
}
};
function notify_callback2(transport, sticky) {
notify_info(transport.responseText, sticky);
@@ -909,10 +912,6 @@ function labelColorReset() {
}
}
function inPreferences() {
return true;
}
function editProfiles() {
if (dijit.byId("profileEditDlg"))