mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 10:15:55 +00:00
add PluginHost.HOOK_INIT_COMPLETE (and make no_title_counters use it)
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
|
||||
ready(function () {
|
||||
App.updateTitle = function () {
|
||||
document.title = "Tiny Tiny RSS";
|
||||
};
|
||||
PluginHost.register(PluginHost.HOOK_INIT_COMPLETE, () => {
|
||||
App.updateTitle = function () {
|
||||
document.title = "Tiny Tiny RSS";
|
||||
};
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user