Node.js based forum software built for the modern web
- changes per PR conversation
akhoury2209a55afc1d
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.jsindex 03ea7f1a1d..8681ceec1b 100644--- a/public/src/ajaxify.js+++ b/public/src/ajaxify.js@@ -125,6 +125,7 @@ var ajaxify = {};if (!renderedWidgets.length) {$('body [no-widget-class]').each(function() {var $this = $(this);+ $this.removeClass();$this.addClass($this.attr('no-widget-class'));});}diff --git a/public/src/forum/topic.js b/public/src/forum/topic.jsindex d92e5ba58f..5c59f20ffa 100644--- a/public/src/forum/topic.js+++ b/public/src/forum/topic.js@@ -1034,11 +1034,6 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {history.replaceState({url: window.location.pathname.slice(1) + '#' + el.attr('data-pid')}, null, newUrl);- } else {- // this is very slugish on IE8/9, it causes the browser to adjust its scroll on its own,- // it can be fixed, but too much work for a very little return just so ie8/9 users can have the hash updated- // commenting it out, sorry- // location.hash = '#' + el.attr('data-pid');}currentUrl = newUrl;}