This commit is contained in:
psychobunny
2014-05-28 17:43:03 -04:00
parent 1fecbd0b90
commit fee591e551
2 changed files with 12 additions and 7 deletions

View File

@@ -292,6 +292,9 @@ var ajaxify = ajaxify || {};
if (this.host === window.location.host) {
// Internal link
var url = this.href.replace(rootUrl + '/', '');
url = url + (url.match(/\?/) ? '&' : '?') + 'prefetched=true';
console.log(url);
ajaxify.loadData(url, function(err, data) {
ajaxify.preloader = {
url: url,