Bug 367461 Tab Preview Should Be Disabled for Current Tab
r+sr=neil git-svn-id: svn://10.0.0.236/trunk@218726 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -222,7 +222,8 @@
|
||||
var canvas = aPopup.lastChild.firstChild;
|
||||
canvas.parentNode.hidden = true;
|
||||
|
||||
if (!this.mPrefs.getBoolPref("browser.tabs.tooltippreview.enable")) {
|
||||
if (tab == this.mCurrentTab ||
|
||||
!this.mPrefs.getBoolPref("browser.tabs.tooltippreview.enable")) {
|
||||
label.removeAttribute("width");
|
||||
aPopup.removeAttribute("tabpreview");
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user