Skip to content

Commit

Permalink
tabswapper's reference to its tabs is an Array, not an Elements colle…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
anutron committed Aug 17, 2013
1 parent ae357b4 commit 225965c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/Layout/TabSwapper.Hash.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ TabSwapper.Hash = new Class({
},
destroy: function(){
window.removeEvent('hashchange', this.bound.showByHash);
this.tabs.removeEvents();
this.tabs.each(function(el){
el.removeEvents();
});
this.tabs = null;
this.sections = null;
}
Expand Down

0 comments on commit 225965c

Please sign in to comment.