Only allow click-to-zoom on img

This commit is contained in:
im-mi 2016-09-02 00:36:34 -04:00
parent b554e7505b
commit eeb0c2b974

View File

@ -28,7 +28,7 @@ $(function() {
zoom(this.options[this.selectedIndex].value);
});
$(".shm-main-image").click(function(e) {
$("img.shm-main-image").click(function(e) {
switch(Cookies.get("ui-image-zoom")) {
case "full": zoom("width"); break;
default: zoom("full"); break;