diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-01-03 04:45:12 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-01-03 04:45:12 +0000 |
commit | b1e7e786ffcc6386af9aa684eebcd99ad6cb3224 (patch) | |
tree | b7a0a0d6422a711b0d43b80eb49ae70d2c0bad9f /ui/ui.core.js | |
parent | ab5bc7916830dfb3327ccf74e3b03d0802b221e2 (diff) | |
download | jquery-ui-b1e7e786ffcc6386af9aa684eebcd99ad6cb3224.tar.gz jquery-ui-b1e7e786ffcc6386af9aa684eebcd99ad6cb3224.zip |
Core: Cleaned up warnings.
Diffstat (limited to 'ui/ui.core.js')
-rw-r--r-- | ui/ui.core.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js index 6db98e086..bd55a46f2 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -463,7 +463,8 @@ $.ui.mouse = { // preventDefault() is used to prevent the selection of text here - // however, in Safari, this causes select boxes not to be selectable // anymore, so this fix is needed - if(!$.browser.safari) event.preventDefault(); + ($.browser.safari || event.preventDefault()); + return true; }, |