Allow to unmute tab always, even if the sound is not played #1082
This commit is contained in:
parent
4adc6803f9
commit
9770fa7bd8
@ -4497,7 +4497,10 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
|
||||
aChild.toggleMuteAudio();
|
||||
}, this);
|
||||
}
|
||||
return this.getTabValue(aTab, this.kREALLY_SOUND_PLAYING) != 'true';
|
||||
return (
|
||||
this.getTabValue(aTab, this.kREALLY_SOUND_PLAYING) != 'true' ||
|
||||
aTab.getAttribute('muted') == 'true' // allow to unmute tab always, even if the sound is not played
|
||||
);
|
||||
},
|
||||
|
||||
correctChildTabsOrderWithDelay : function TSTBrowser_correctChildTabsOrderWithDelay(aTab)
|
||||
|
Loading…
Reference in New Issue
Block a user