mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
removed unused content variable
This commit is contained in:
@@ -7,7 +7,6 @@ var ajaxify = ajaxify || {};
|
|||||||
|
|
||||||
var location = document.location || window.location,
|
var location = document.location || window.location,
|
||||||
rootUrl = location.protocol + '//' + (location.hostname || location.host) + (location.port ? ':' + location.port : ''),
|
rootUrl = location.protocol + '//' + (location.hostname || location.host) + (location.port ? ':' + location.port : ''),
|
||||||
content = null,
|
|
||||||
templatesConfig = null,
|
templatesConfig = null,
|
||||||
availableTemplates = null,
|
availableTemplates = null,
|
||||||
apiXHR = null;
|
apiXHR = null;
|
||||||
@@ -227,8 +226,6 @@ var ajaxify = ajaxify || {};
|
|||||||
return; // no ajaxification for old browsers
|
return; // no ajaxification for old browsers
|
||||||
}
|
}
|
||||||
|
|
||||||
content = content || document.getElementById('content');
|
|
||||||
|
|
||||||
// Enhancing all anchors to ajaxify...
|
// Enhancing all anchors to ajaxify...
|
||||||
$(document.body).on('click', 'a', function (e) {
|
$(document.body).on('click', 'a', function (e) {
|
||||||
function hrefEmpty(href) {
|
function hrefEmpty(href) {
|
||||||
|
|||||||
Reference in New Issue
Block a user