diff options
author | Andrew Dolgov <[email protected]> | 2018-12-01 18:25:32 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-01 18:25:32 +0300 |
commit | 4bed9be57d671324921bfd1d90d25b8cd0af3d4f (patch) | |
tree | 8ef670bc3f695e4948561c406e2d97cbc60053ed /js/prefs.js | |
parent | 44d3aedd382f6b9f38776fd2f2a8119f4160da55 (diff) |
js-ification: start on some common dialogs
Diffstat (limited to 'js/prefs.js')
-rwxr-xr-x | js/prefs.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/prefs.js b/js/prefs.js index 15007d014..e83e69bd5 100755 --- a/js/prefs.js +++ b/js/prefs.js @@ -49,7 +49,7 @@ const App = { try { parser.parse(); - setLoadingProgress(50); + Utils.setLoadingProgress(50); const clientTzOffset = new Date().getTimezoneOffset() * 60; const params = {op: "rpc", method: "sanityCheck", clientTzOffset: clientTzOffset}; @@ -66,7 +66,7 @@ const App = { }, initSecondStage: function() { document.onkeydown = this.hotkeyHandler; - setLoadingProgress(50); + Utils.setLoadingProgress(50); notify(""); let tab = getURLParam('tab'); @@ -91,12 +91,12 @@ const App = { hotkeyHandler: function (event) { if (event.target.nodeName == "INPUT" || event.target.nodeName == "TEXTAREA") return; - const action_name = keyeventToAction(event); + const action_name = Utils.keyeventToAction(event); if (action_name) { switch (action_name) { case "feed_subscribe": - quickAddFeed(); + CommonDialogs.quickAddFeed(); return false; case "create_label": addLabel(); |