mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
optimized ajaxify to only recurse through script tags; updated so it looks deeper for embedded scripts (ie. within plugin subtemplates)
This commit is contained in:
@@ -176,7 +176,7 @@ var ajaxify = {};
|
|||||||
|
|
||||||
var scripts = [],
|
var scripts = [],
|
||||||
script,
|
script,
|
||||||
children_nodes = $(body_el).children(),
|
children_nodes = $(body_el).find('script'),
|
||||||
child,
|
child,
|
||||||
i;
|
i;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user