mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 19:21:04 +01:00
get rid of app.exposeConfigToTemplates
This commit is contained in:
@@ -214,8 +214,10 @@ $(document).ready(function() {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
|
||||
ajaxify.data = data;
|
||||
data.relative_path = RELATIVE_PATH;
|
||||
data.config = config;
|
||||
|
||||
$(window).trigger('action:ajaxify.dataLoaded', {url: url, data: data});
|
||||
|
||||
if (callback) {
|
||||
|
||||
Reference in New Issue
Block a user