Skip to content

Commit

Permalink
Remove obsolete codes around mouseover/mouseout on buttons after tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Infocatcher committed May 6, 2014
1 parent c76aa6c commit 406acf0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2671,16 +2671,10 @@ var windowsObserver = {
this.destroyNode(this.getPaletteButton(window), force);
// Force destroy toolbar button in Australis menu
this.destroyNode(document.getElementById(this.toolbarButtonId), force);
var afterTabsBtn = document.getElementById(this.afterTabsButtonId);
if(afterTabsBtn) {
afterTabsBtn.removeEventListener("mouseover", this, true);
afterTabsBtn.removeEventListener("mouseout", this, true);
this.destroyNode(afterTabsBtn, force);
}
this.destroyNode(document.getElementById(this.afterTabsButtonId), force);

var newTabBtn = this.getNewTabButton(window);
if(newTabBtn) {
newTabBtn.removeEventListener("mouseover", this, true);
newTabBtn.removeEventListener("mouseout", this, true);
newTabBtn.parentNode.removeEventListener("mouseover", this, true);
newTabBtn.parentNode.removeEventListener("mouseout", this, true);
}
Expand Down

0 comments on commit 406acf0

Please sign in to comment.