Skip to content

Commit 4fea887

Browse files
committed
fix
1 parent d883709 commit 4fea887

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7984,7 +7984,7 @@ background-image:url("'+ prefs.icons.magnifier +'");\
79847984
if (target.nodeName != 'IMG' && target.className.indexOf("pv-float-bar")==-1){
79857985
var targetStyle=getComputedStyle(target);
79867986
if(targetStyle.backgroundImage && /^url/.test(targetStyle.backgroundImage) && targetStyle.width.replace("px","")>prefs.floatBar.minSizeLimit.w && targetStyle.height.replace("px","")>prefs.floatBar.minSizeLimit.h){
7987-
var src=targetStyle.backgroundImage.replace(/url\(["']?(.*)["']?\)/,"$1");
7987+
var src=targetStyle.backgroundImage.replace(/url\(["'](.*)["']\)/,"$1");
79887988
result = {
79897989
src: src,
79907990
type: "scale",

0 commit comments

Comments
 (0)