]> git.wh0rd.org - tt-rss.git/blobdiff - js/prefs.js
initHeadlinesMenu: remove unneeded output
[tt-rss.git] / js / prefs.js
index 628e66a111254047a2dcb83ab0f6d0009ba1b514..23d43f366d6433ccaab7f7e5131d400411f5a2d4 100755 (executable)
@@ -901,10 +901,10 @@ function init_second_stage() {
                if (method == 'editFeed') {
                        var param = getURLParam('methodparam');
 
-                       window.setTimeout('editFeed(' + param + ')', 100);
+                       window.setTimeout(function() { editFeed(param) }, 100);
                }
 
-               setTimeout("hotkey_prefix_timeout()", 5*1000);
+               setTimeout(hotkey_prefix_timeout, 5*1000);
 
        } catch (e) {
                exception_error("init_second_stage", e);
@@ -919,6 +919,7 @@ function init() {
                        "dojo/ready",
                        "dojo/parser",
                        "dojo/_base/loader",
+                       "dojo/_base/html",
                        "dijit/ColorPalette",
                        "dijit/Dialog",
                        "dijit/form/Button",
@@ -1811,3 +1812,4 @@ function clearSqlLog() {
 function updateSelectedPrompt() {
        // no-op shim for toggleSelectedRow()
 }
+