mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-06-30 12:30:52 +02:00
Merge branch 'pluginhost_fix' of ggrandou/tt-rss into master
This commit is contained in:
commit
e338014d99
|
@ -24,8 +24,9 @@ PluginHost = {
|
||||||
//console.warn('PluginHost::run ' + name);
|
//console.warn('PluginHost::run ' + name);
|
||||||
|
|
||||||
if (typeof(this.hooks[name]) != 'undefined')
|
if (typeof(this.hooks[name]) != 'undefined')
|
||||||
for (let i = 0; i < this.hooks[name].length; i++)
|
for (let i = 0; i < this.hooks[name].length; i++) {
|
||||||
if (!this.hooks[name][i](args)) break;
|
this.hooks[name][i](args);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user