mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:55:55 +00:00
plugins: use require() to hook into dojo
This commit is contained in:
@@ -24,7 +24,7 @@ function expandSizeWrapper(id) {
|
||||
|
||||
require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) {
|
||||
|
||||
dojo.addOnLoad(function() {
|
||||
ready(function() {
|
||||
PluginHost.register(PluginHost.HOOK_ARTICLE_RENDERED_CDM, function(row) {
|
||||
if (getInitParam('cdm_expanded')) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user