Only allow click-to-zoom on img
This commit is contained in:
parent
b554e7505b
commit
eeb0c2b974
@ -28,7 +28,7 @@ $(function() {
|
|||||||
zoom(this.options[this.selectedIndex].value);
|
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")) {
|
switch(Cookies.get("ui-image-zoom")) {
|
||||||
case "full": zoom("width"); break;
|
case "full": zoom("width"); break;
|
||||||
default: zoom("full"); break;
|
default: zoom("full"); break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user