diff options
author | Andrew Dolgov <[email protected]> | 2021-03-04 15:09:56 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-04 15:09:56 +0300 |
commit | 2f6ea8b387ee4717516cbc96140f58542fbfa30c (patch) | |
tree | 051684c2e3a0b1e6aa5a1dd27c8975b1cba6634b /plugins/no_title_counters | |
parent | b74e31384463541732b622bd5529a18a6100b329 (diff) |
split a bunch of plugins into separate repos
Diffstat (limited to 'plugins/no_title_counters')
-rw-r--r-- | plugins/no_title_counters/init.js | 9 | ||||
-rw-r--r-- | plugins/no_title_counters/init.php | 24 |
2 files changed, 0 insertions, 33 deletions
diff --git a/plugins/no_title_counters/init.js b/plugins/no_title_counters/init.js deleted file mode 100644 index 6c0cb38e2..000000000 --- a/plugins/no_title_counters/init.js +++ /dev/null @@ -1,9 +0,0 @@ -require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) { - ready(function () { - PluginHost.register(PluginHost.HOOK_INIT_COMPLETE, () => { - App.updateTitle = function () { - document.title = "Tiny Tiny RSS"; - }; - }); - }); -}); diff --git a/plugins/no_title_counters/init.php b/plugins/no_title_counters/init.php deleted file mode 100644 index ff8dbe9fa..000000000 --- a/plugins/no_title_counters/init.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php -class No_Title_Counters extends Plugin { - private $host; - - function about() { - return array(null, - "Remove counters from window title (prevents tab flashing on new articles)", - "fox"); - } - - function init($host) { - $this->host = $host; - - } - - function get_js() { - return file_get_contents(__DIR__ . "/init.js"); - } - - function api_version() { - return 2; - } - -}
\ No newline at end of file |