From ea129e29f26917fce893cdb12471f4c897f01c3f Mon Sep 17 00:00:00 2001 From: WTVader Date: Wed, 23 Jan 2013 23:42:34 +0100 Subject: [PATCH] Update jquery.djax.js Compatibility with jQuery 1.9 --- jquery.djax.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jquery.djax.js b/jquery.djax.js index 14676ba..9424e79 100644 --- a/jquery.djax.js +++ b/jquery.djax.js @@ -111,7 +111,7 @@ return true; } - var result = $('"' + response + '"'), + var result = $($.parseHTML(response)), newBlocks = $(result).find(blockSelector); if (add) { @@ -211,4 +211,4 @@ }; -}(jQuery, window)); \ No newline at end of file +}(jQuery, window));