aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ajax/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js
index 7eb1b91c3..b513e630d 100644
--- a/src/ajax/ajax.js
+++ b/src/ajax/ajax.js
@@ -77,7 +77,7 @@ jQuery.fn.extend({
complete: function(res, status){
if ( status == "success" || !ifModified && status == "notmodified" )
// Inject the HTML into all the matched elements
- self.attr("innerHTML", res.responseText)
+ self.html(res.responseText)
// Execute all the scripts inside of the newly-injected HTML
.evalScripts()
// Execute callback