Bug 1530367 - Toggle audio playback when clicking on blocked media in pinned tabs. r=dao

This attribute  was overlooked previously when moving away from _overPlayingIcon.

Differential Revision: https://phabricator.services.mozilla.com/D21436

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jared Wein 2019-02-28 04:27:42 +00:00
Родитель d850c582b4
Коммит fa6f4e4e2b
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -2429,7 +2429,8 @@
if (event.originalTarget.classList.contains("tab-icon-sound") ||
(event.originalTarget.classList.contains("tab-icon-overlay") &&
(event.originalTarget.hasAttribute("soundplaying") ||
event.originalTarget.hasAttribute("muted")))) {
event.originalTarget.hasAttribute("muted") ||
event.originalTarget.hasAttribute("activemedia-blocked")))) {
if (this.multiselected) {
gBrowser.toggleMuteAudioOnMultiSelectedTabs(this);
} else {