[Svn] r4473 - trunk/roundcubemail/skins/default

trac at roundcube.net trac at roundcube.net
Sun Jan 30 21:34:42 CET 2011


Author: alec
Date: 2011-01-30 14:34:42 -0600 (Sun, 30 Jan 2011)
New Revision: 4473

Modified:
   trunk/roundcubemail/skins/default/functions.js
Log:
- Use less code


Modified: trunk/roundcubemail/skins/default/functions.js
===================================================================
--- trunk/roundcubemail/skins/default/functions.js	2011-01-30 20:33:44 UTC (rev 4472)
+++ trunk/roundcubemail/skins/default/functions.js	2011-01-30 20:34:42 UTC (rev 4473)
@@ -13,7 +13,7 @@
     tab = '#settingstab' + (rcmail.env.action=='preferences' ? 'default' : (rcmail.env.action.indexOf('identity')>0 ? 'identities' : rcmail.env.action.replace(/\./g, '')));
 
   $(tab).addClass('tablink-selected');
-  $(tab + '> a').removeAttr('onclick').unbind('click').bind('click', function(){return false;});
+  $(tab + '> a').removeAttr('onclick').click(function() { return false; });
 }
 
 function rcube_show_advanced(visible)

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list