From f8bcc8cd293d76aee620420ad65ac6d531c260de Mon Sep 17 00:00:00 2001 From: "alexander.farkas" Date: Thu, 9 Feb 2017 00:02:58 +0100 Subject: [PATCH] fixes issue #341 --- plugins/respimg/ls.respimg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/respimg/ls.respimg.js b/plugins/respimg/ls.respimg.js index a8aa988e..3973a312 100644 --- a/plugins/respimg/ls.respimg.js +++ b/plugins/respimg/ls.respimg.js @@ -99,7 +99,7 @@ var ascendingSort = function( a, b ) { return a.w - b.w; }; - var regPxLength = /^\s*\d+px\s*$/; + var regPxLength = /^\s*\d+\.*\d*px\s*$/; var reduceCandidate = function (srces) { var lowerCandidate, bonusFactor; var len = srces.length;