Mercurial > kallithea
changeset 4391:03a04775c931
replace YUI with jquery in templates/base/default_perms_box.html
author | Takumi IINO <trot.thunder@gmail.com> |
---|---|
date | Sun, 06 Jul 2014 01:34:30 +0900 |
parents | e8f0df0d6dd5 |
children | 84222f4b1a14 |
files | kallithea/templates/base/default_perms_box.html |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/base/default_perms_box.html Sun Jul 06 01:40:39 2014 +0900 +++ b/kallithea/templates/base/default_perms_box.html Sun Jul 06 01:34:30 2014 +0900 @@ -73,10 +73,9 @@ $(document).ready(function(e){ var show_custom_perms = function(inherit_default){ if(inherit_default){ - YUD.setStyle('inherit_overlay', 'display', 'none'); - } - else{ - YUD.setStyle('inherit_overlay', 'display', ''); + $('#inherit_overlay').hide(); + }else{ + $('#inherit_overlay').show(); } }