Skip to content

Commit d9712e6

Browse files
committed
Update Picviewer CE+.user.js
1 parent e78de8d commit d9712e6

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
@@ -9850,7 +9850,7 @@ Ascii2D | https://ascii2d.net/search/url/#t#`;
98509850

98519851
var target = e.target;
98529852

9853-
if (!target || !target.classList || !target.className || target.id=="pv-float-bar-container" || target.className.indexOf('pv-') != -1 || target.classList.contains("ks-imagezoom-lens")) {
9853+
if (!target || target.id=="pv-float-bar-container" || (target.className && (target.className.indexOf('pv-') != -1 || target.classList.contains("ks-imagezoom-lens")))) {
98549854
return;
98559855
}
98569856

0 commit comments

Comments
 (0)