Skip to content

Commit 046db58

Browse files
JS-497: Fast screen resize in fullscreen mode breaks image size
1 parent 757efb0 commit 046db58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/web/magnifier/magnify.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,10 @@ define([
804804
if ($image.hasClass(imageZoommable) && !allowZoomOut || isImageSmall) {
805805
resetVars($image);
806806
}
807+
808+
if (!isImageSmall) {
809+
toggleStandartNavigation();
810+
}
807811
});
808812
}
809813

0 commit comments

Comments
 (0)