Core: Cleaned up warnings.

This commit is contained in:
Scott González
2009-01-03 04:45:12 +00:00
parent ab5bc79168
commit b1e7e786ff

View File

@@ -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;
},