Permalink
Browse files

Opera way of prevent default (bug #3367851)

  • Loading branch information...
1 parent 1c768e8 commit ad937f866513f01136b57d2a5da836b1a8c644c4 @vrana committed Jul 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminer/static/functions.js
View
2 adminer/static/functions.js
@@ -454,7 +454,7 @@ function bodyClick(event, db, ns) {
if (event.button || event.ctrlKey || event.shiftKey || event.altKey || event.metaKey) {
return;
}
- if (event.getPreventDefault ? event.getPreventDefault() : event.returnValue === false) {
+ if (event.getPreventDefault ? event.getPreventDefault() : event.returnValue === false || event.defaultPrevented) {
return false;
}
var el = event.target || event.srcElement;

0 comments on commit ad937f8

Please sign in to comment.