Commit f145ca099f4832247c142e045ddebaaa88d7304f

Authored by Braulio Bhavamitra
1 parent 4e9c7fe3

pjax: fix variable reference

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
plugins/pjax/public/javascripts/pjax.js
@@ -157,7 +157,7 @@ pjax = { @@ -157,7 +157,7 @@ pjax = {
157 document._write = document.write; 157 document._write = document.write;
158 document.write = function (data) { 158 document.write = function (data) {
159 if (document.readyState != 'loading') 159 if (document.readyState != 'loading')
160 - content.append(data); 160 + pjax.content.append(data);
161 else 161 else
162 document._write(data); 162 document._write(data);
163 }; 163 };