summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/browser-tabPreviews.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-19 21:03:33 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-11-19 21:03:33 +0100
commita6b9afbeefa5a508d2af481d87d9aa2cf6843273 (patch)
tree78da74907c04e68eb58a07fe0cd7da5858af4428 /application/palemoon/base/content/browser-tabPreviews.js
parent9ce2c56e1684dab1046600d34941977e5b733d6e (diff)
parent025b9137512704f8b20f75a59ae369eb50046a1d (diff)
downloadUXP-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.js7
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) {