r1484 - trunk/ui

r1484 - trunk/ui


Author: scott.gonzalez
Date: Fri Jan 2 20:45:12 2009
New Revision: 1484
Modified:
trunk/ui/ui.core.js
Log:
Core: Cleaned up warnings.
Modified: trunk/ui/ui.core.js
==============================================================================
--- trunk/ui/ui.core.js    (original)
+++ trunk/ui/ui.core.js    Fri Jan 2 20:45:12 2009
@@ -463,7 +463,8 @@
        // 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;
    },