don't preventDefault on shift | alt | ctrl press
This commit is contained in:
parent
6700424c99
commit
24e8663ea2
@ -370,6 +370,7 @@ iframeLoad = ->
|
|||||||
recaptchaReload()
|
recaptchaReload()
|
||||||
|
|
||||||
imageClick = (e) ->
|
imageClick = (e) ->
|
||||||
|
return if e.shiftKey or e.altKey or e.ctrlKey
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
thumb = @firstChild
|
thumb = @firstChild
|
||||||
if thumb.className is 'hide'
|
if thumb.className is 'hide'
|
||||||
|
|||||||
@ -475,6 +475,9 @@
|
|||||||
};
|
};
|
||||||
imageClick = function(e) {
|
imageClick = function(e) {
|
||||||
var thumb;
|
var thumb;
|
||||||
|
if (e.shiftKey || e.altKey || e.ctrlKey) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
thumb = this.firstChild;
|
thumb = this.firstChild;
|
||||||
if (thumb.className === 'hide') {
|
if (thumb.className === 'hide') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user