We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec77aac commit a1b015aCopy full SHA for a1b015a
filer/templates/admin/filer/image/expand.html
@@ -5,7 +5,7 @@
5
cursor: zoom-in;
6
}
7
body.scrolling img {
8
- cursor: zoom-in;
+ cursor: zoom-out;
9
10
body.scrolling img.zoom {
11
@@ -21,7 +21,7 @@
21
<script>
22
setInterval(function () {
23
const img = document.getElementById('img')
24
- document.body.classList.toggle('scrolling', img.width > document.body.clientWidth)
+ document.body.classList.toggle('scrolling', img.naturalWidth >= document.body.clientWidth)
25
}, 200);
26
</script>
27
</body>
0 commit comments