mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
closed #1328
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
|
||||
(function(ajaxify) {
|
||||
ajaxify.widgets = {};
|
||||
|
||||
|
||||
ajaxify.widgets.reposition = function(location) {
|
||||
$('body [no-widget-class]').each(function() {
|
||||
var $this = $(this);
|
||||
if ($this.attr('no-widget-target') === location) {
|
||||
$this.removeClass();
|
||||
$this.addClass($this.attr('no-widget-class'));
|
||||
$this.addClass($this.attr('no-widget-class'));
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user