]> git.wh0rd.org - tt-rss.git/blobdiff - js/PluginHost.js
set dialogs to const
[tt-rss.git] / js / PluginHost.js
index ae89ba48137cfcfe9de33ca1d680ebab8abe6283..88e2660ed37582a5844c212594c23fddc75df60c 100644 (file)
@@ -22,7 +22,7 @@ var PluginHost = {
                console.warn('PluginHost::run ' + name);
 
                if (typeof(this.hooks[name]) != 'undefined')
-                       for (i = 0; i < this.hooks[name].length; i++)
+                       for (var i = 0; i < this.hooks[name].length; i++)
                                if (!this.hooks[name][i](args)) break;
        }
 };