aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/ui.core.js3
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;
},