mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 19:47:32 +09:00
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
This commit is contained in:
parent
84bfab4f70
commit
cc3e413793
4 changed files with 3 additions and 17 deletions
|
|
@ -1170,11 +1170,8 @@ this.PlacesUIUtils = {
|
|||
* @return The URL with the fragment at the end
|
||||
*/
|
||||
getImageURLForResolution:
|
||||
function PUIU_getImageURLForResolution(aWindow, aURL, aWidth = 16, aHeight = 16) {
|
||||
let width = Math.round(aWidth * aWindow.devicePixelRatio);
|
||||
let height = Math.round(aHeight * aWindow.devicePixelRatio);
|
||||
return aURL + (aURL.includes("#") ? "&" : "#") +
|
||||
"-moz-resolution=" + width + "," + height;
|
||||
function PUIU_getImageURLForResolution(aWindow, aURL, aWidth, aHeight) {
|
||||
return aURL;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue