Skip to content

Node.js based forum software built for the modern web

removed unused content variable

psychobunny591fb41c0845
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js
index 00a2350aae..d190dbe8fb 100644
--- a/public/src/ajaxify.js
+++ b/public/src/ajaxify.js
@@ -7,7 +7,6 @@ var ajaxify = ajaxify || {};
var location = document.location || window.location,
rootUrl = location.protocol + '//' + (location.hostname || location.host) + (location.port ? ':' + location.port : ''),
- content = null,
templatesConfig = null,
availableTemplates = null,
apiXHR = null;
@@ -227,8 +226,6 @@ var ajaxify = ajaxify || {};
return; // no ajaxification for old browsers
}
- content = content || document.getElementById('content');
-
// Enhancing all anchors to ajaxify...
$(document.body).on('click', 'a', function (e) {
function hrefEmpty(href) {