diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-07 08:52:45 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-07 08:52:45 +0200 |
commit | 440ed92f38df5a57a9f8f97117dd0d211c2f5625 (patch) | |
tree | 52a97cce5d1daa58fb01d755c594686be93c2cdc /application/palemoon | |
parent | 0e550f2fb90ada0b608bc1e1982b100291651806 (diff) | |
download | UXP-440ed92f38df5a57a9f8f97117dd0d211c2f5625.tar UXP-440ed92f38df5a57a9f8f97117dd0d211c2f5625.tar.gz UXP-440ed92f38df5a57a9f8f97117dd0d211c2f5625.tar.lz UXP-440ed92f38df5a57a9f8f97117dd0d211c2f5625.tar.xz UXP-440ed92f38df5a57a9f8f97117dd0d211c2f5625.zip |
string.contains() => string.includes()
Diffstat (limited to 'application/palemoon')
-rw-r--r-- | application/palemoon/components/places/PlacesUIUtils.jsm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/components/places/PlacesUIUtils.jsm b/application/palemoon/components/places/PlacesUIUtils.jsm index e90c84152..f62535613 100644 --- a/application/palemoon/components/places/PlacesUIUtils.jsm +++ b/application/palemoon/components/places/PlacesUIUtils.jsm @@ -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; } }; |