diff --git a/ext/handle_pixel/script.js b/ext/handle_pixel/script.js index 1857c178..16faa878 100644 --- a/ext/handle_pixel/script.js +++ b/ext/handle_pixel/script.js @@ -27,6 +27,11 @@ $(function() { $(".shm-zoomer").change(function(e) { zoom(this.options[this.selectedIndex].value); }); + $(window).resize(function(e) { + $(".shm-zoomer").each(function (e) { + zoom(this.options[this.selectedIndex].value) + }); + }); $("img.shm-main-image").click(function(e) { switch(Cookies.get("ui-image-zoom")) {