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:
psychobunny
2013-10-14 14:26:20 -04:00
parent ca9c468edd
commit 37450ff00c

View File

@@ -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;