summaryrefslogtreecommitdiff
path: root/skins/default/functions.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-01-30 20:34:42 +0000
committeralecpl <alec@alec.pl>2011-01-30 20:34:42 +0000
commit8c27d0032fd75668d26636f2146af64709147ab4 (patch)
treeb9315c4ea08fe6a1db11d8df57a03107f002099f /skins/default/functions.js
parentf2e94665f397d7bb1fa767c008de54485df218fe (diff)
- Use less code
Diffstat (limited to 'skins/default/functions.js')
-rw-r--r--skins/default/functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/skins/default/functions.js b/skins/default/functions.js
index 9eed5f054..d26097f9c 100644
--- a/skins/default/functions.js
+++ b/skins/default/functions.js
@@ -13,7 +13,7 @@ function rcube_init_settings_tabs()
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)