Skip to content

Commit

Permalink
Update filer/templates/admin/filer/image/expand.html
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun authored Oct 2, 2023
1 parent f2a4768 commit ec77aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filer/templates/admin/filer/image/expand.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<img id="img" src="{{ original_url }}" onclick="this.classList.toggle('zoom')"/>
<script>
setInterval(function () {
img = document.getElementById('img')
const img = document.getElementById('img')
document.body.classList.toggle('scrolling', img.width > document.body.clientWidth)
}, 200);
</script>
Expand Down

0 comments on commit ec77aac

Please sign in to comment.