You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/11/10 19:33:40 UTC

svn commit: r1200470 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-menu.js

Author: lofwyr
Date: Thu Nov 10 18:33:39 2011
New Revision: 1200470

URL: http://svn.apache.org/viewvc?rev=1200470&view=rev
Log:
cleanup:
using jQuery.browser.webkit instead of deprecated jQuery.browser.safari

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-menu.js

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-menu.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-menu.js?rev=1200470&r1=1200469&r2=1200470&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-menu.js (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-menu.js Thu Nov 10 18:33:39 2011
@@ -186,7 +186,7 @@ Tobago.Menu.closeAll = function() {
 * returns the browser specific event which should be used.
 */
 function compatibleKeyEvent() {
-  return jQuery.browser.msie || jQuery.browser.safari ? 'keydown' : 'keypress';
+  return jQuery.browser.msie || jQuery.browser.webkit ? 'keydown' : 'keypress';
 }
 
 Tobago.Menu.mouseOver = function(event) {