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