summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-05-12 21:00:32 -0400
committerMatt A. Tobin <email@mattatobin.com>2019-05-12 21:00:32 -0400
commitc7dc667e614cbff35c0d76d3647fde81f7192184 (patch)
treec42b2536b98d634d30463443de97d1bf1ee9718a /application/palemoon/base
parent70c5719dc53aa674fea234a2a5914a4add762974 (diff)
downloadUXP-c7dc667e614cbff35c0d76d3647fde81f7192184.tar
UXP-c7dc667e614cbff35c0d76d3647fde81f7192184.tar.gz
UXP-c7dc667e614cbff35c0d76d3647fde81f7192184.tar.lz
UXP-c7dc667e614cbff35c0d76d3647fde81f7192184.tar.xz
UXP-c7dc667e614cbff35c0d76d3647fde81f7192184.zip
Remove deprecated appending of #-moz-resolution from Pale Moon and left over from nsMediaFragmentURIParser.h
This also magically makes Aero Peek work properly with Pale Moon thus: Resolves #809
Diffstat (limited to 'application/palemoon/base')
-rw-r--r--application/palemoon/base/content/tabbrowser.xml7
1 files changed, 1 insertions, 6 deletions
diff --git a/application/palemoon/base/content/tabbrowser.xml b/application/palemoon/base/content/tabbrowser.xml
index 6555d3071..aa1a89200 100644
--- a/application/palemoon/base/content/tabbrowser.xml
+++ b/application/palemoon/base/content/tabbrowser.xml
@@ -831,13 +831,8 @@
}
let sizedIconUrl = browser.mIconURL || "";
- if (sizedIconUrl) {
- let size = Math.round(16 * window.devicePixelRatio);
- sizedIconUrl += (sizedIconUrl.includes("#") ? "&" : "#") +
- "-moz-resolution=" + size + "," + size;
- }
if (sizedIconUrl != aTab.getAttribute("image")) {
- if (browser.mIconURL)
+ if (sizedIconUrl)
aTab.setAttribute("image", sizedIconUrl);
else
aTab.removeAttribute("image");