Commit d213c4e98947c0c508238fbaa48bd93f343df717

Authored by Braulio Bhavamitra
Committed by Victor Costa
1 parent f003a7d9

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 };