mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
string.contains() => string.includes()
This commit is contained in:
parent
0795e50d87
commit
1943c044a5
1 changed files with 1 additions and 1 deletions
|
|
@ -1161,7 +1161,7 @@ this.PlacesUIUtils = {
|
|||
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.contains("#") ? "&" : "#") +
|
||||
return aURL + (aURL.includes("#") ? "&" : "#") +
|
||||
"-moz-resolution=" + width + "," + height;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue