Merge branch 'pluginhost_fix' of ggrandou/tt-rss into master

This commit is contained in:
fox 2018-12-09 01:34:48 +00:00 committed by Gogs
commit e338014d99
1 changed files with 3 additions and 2 deletions

View File

@ -24,8 +24,9 @@ PluginHost = {
//console.warn('PluginHost::run ' + name);
if (typeof(this.hooks[name]) != 'undefined')
for (let i = 0; i < this.hooks[name].length; i++)
if (!this.hooks[name][i](args)) break;
for (let i = 0; i < this.hooks[name].length; i++) {
this.hooks[name][i](args);
}
}
};