mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
Widgets refactor (#5817)
* widgets refactor render widgets server side widgets can use all the data the template can use * fix tests
This commit is contained in:
committed by
GitHub
parent
65329b9bd7
commit
923bd86662
@@ -204,7 +204,7 @@ $(document).ready(function () {
|
||||
}
|
||||
ajaxify.loadScript(tpl_url, done);
|
||||
|
||||
ajaxify.widgets.render(tpl_url, url, done);
|
||||
ajaxify.widgets.render(tpl_url, done);
|
||||
|
||||
$(window).trigger('action:ajaxify.contentLoaded', { url: url, tpl: tpl_url });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user