From 1943c044a5294f450740534a85912623100b1fbf Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 7 Jun 2018 08:52:45 +0200 Subject: [PATCH] string.contains() => string.includes() --- application/palemoon/components/places/PlacesUIUtils.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/palemoon/components/places/PlacesUIUtils.jsm b/application/palemoon/components/places/PlacesUIUtils.jsm index e90c84152e..f625356136 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; } };