This commit is contained in:
Julian Lam
2014-04-03 17:27:26 -04:00
parent f3a78c2b6f
commit 7a993eb2ca
4 changed files with 46 additions and 41 deletions

View File

@@ -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'));
}
});
};