Mercurial > kallithea
diff rhodecode/public/js/rhodecode.js @ 1426:91708b96e991 beta
Fixed show more links.
improved gui for quick menu.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 10 Jul 2011 16:26:42 +0200 |
parents | c6b811f11c94 |
children | 9d9e491e2a21 |
line wrap: on
line diff
--- a/rhodecode/public/js/rhodecode.js Sun Jul 10 15:50:31 2011 +0200 +++ b/rhodecode/public/js/rhodecode.js Sun Jul 10 16:26:42 2011 +0200 @@ -136,3 +136,15 @@ showdelay:20, }); } + +/** + * show more + */ +function show_more_event(){ + YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){ + var el = e.target; + YUD.setStyle(YUD.get(el.id.substring(1)),'display',''); + YUD.setStyle(el.parentNode,'display','none'); + }); +} +