From 37450ff00c7400ec757ec472cb653be872e07d6a Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 14 Oct 2013 14:26:20 -0400 Subject: [PATCH] optimized ajaxify to only recurse through script tags; updated so it looks deeper for embedded scripts (ie. within plugin subtemplates) --- public/src/ajaxify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js index 2887b4a301..01b438b7b0 100644 --- a/public/src/ajaxify.js +++ b/public/src/ajaxify.js @@ -176,7 +176,7 @@ var ajaxify = {}; var scripts = [], script, - children_nodes = $(body_el).children(), + children_nodes = $(body_el).find('script'), child, i;