From b1e7e786ffcc6386af9aa684eebcd99ad6cb3224 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Sat, 3 Jan 2009 04:45:12 +0000 Subject: [PATCH] Core: Cleaned up warnings. --- ui/ui.core.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }, -- 2.39.5