From: John Resig Date: Mon, 14 Sep 2009 23:20:23 +0000 (+0000) Subject: Another fix for [6537] - make sure that .innerHTML isn't used on non-HTML documents... X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;ds=sidebyside;h=3eb56b09b8ce903355b9173b6e60b2354a6c7ba7;p=jquery.git Another fix for [6537] - make sure that .innerHTML isn't used on non-HTML documents and that we only attempt to use .innerHTML on DOM Elements. --- diff --git a/src/manipulation.js b/src/manipulation.js index ae4430a..73b0de3 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -189,15 +189,15 @@ jQuery.fn.extend({ // See if we can take a shortcut and just use innerHTML } else if ( typeof value === "string" && !/