diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-11-19 21:03:33 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-11-19 21:03:33 +0100 |
commit | a6b9afbeefa5a508d2af481d87d9aa2cf6843273 (patch) | |
tree | 78da74907c04e68eb58a07fe0cd7da5858af4428 /application/palemoon/base/content/browser-tabPreviews.js | |
parent | 9ce2c56e1684dab1046600d34941977e5b733d6e (diff) | |
parent | 025b9137512704f8b20f75a59ae369eb50046a1d (diff) | |
download | UXP-a6b9afbeefa5a508d2af481d87d9aa2cf6843273.tar UXP-a6b9afbeefa5a508d2af481d87d9aa2cf6843273.tar.gz UXP-a6b9afbeefa5a508d2af481d87d9aa2cf6843273.tar.lz UXP-a6b9afbeefa5a508d2af481d87d9aa2cf6843273.tar.xz UXP-a6b9afbeefa5a508d2af481d87d9aa2cf6843273.zip |
Merge branch 'master' of https://github.com/MoonchildProductions/UXP
Diffstat (limited to 'application/palemoon/base/content/browser-tabPreviews.js')
-rw-r--r-- | application/palemoon/base/content/browser-tabPreviews.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/application/palemoon/base/content/browser-tabPreviews.js b/application/palemoon/base/content/browser-tabPreviews.js index eaae78ba8..e0755b81d 100644 --- a/application/palemoon/base/content/browser-tabPreviews.js +++ b/application/palemoon/base/content/browser-tabPreviews.js @@ -940,6 +940,13 @@ var allTabs = { aPreview.setAttribute("image", aPreview._tab.image); else aPreview.removeAttribute("image"); + + aPreview.removeAttribute("soundplaying"); + aPreview.removeAttribute("muted"); + if (aPreview._tab.hasAttribute("muted")) + aPreview.setAttribute("muted", "true"); + else if (aPreview._tab.hasAttribute("soundplaying")) + aPreview.setAttribute("soundplaying", "true"); var thumbnail = tabPreviews.get(aPreview._tab); if (aPreview.firstChild) { |