mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:25:55 +00:00
plugins: use require() to hook into dojo
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
dojo.addOnLoad(function() {
|
||||
updateTitle = function() {
|
||||
document.title = "Tiny Tiny RSS";
|
||||
};
|
||||
require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
|
||||
ready(function () {
|
||||
updateTitle = function () {
|
||||
document.title = "Tiny Tiny RSS";
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user