Mercurial > kallithea
changeset 5152:f2d811756977
pullrequests: kill a bit of YUD
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Sun, 17 May 2015 21:37:46 +0200 |
parents | df5b6fc6c518 |
children | abad971d21d1 |
files | kallithea/templates/pullrequests/pullrequest_show.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/pullrequests/pullrequest_show.html Wed May 27 23:15:36 2015 +0200 +++ b/kallithea/templates/pullrequests/pullrequest_show.html Sun May 17 21:37:46 2015 +0200 @@ -38,7 +38,7 @@ <label>${_('Description')}:</label> %if editable: <div style="margin: 5px"> - <a class="btn btn-small" onclick="YUD.setStyle('pr-edit-form','display','');YUD.setStyle(YUD.getElementsByClassName('pr-not-edit'),'display','none')">${_("Edit")}</a> + <a class="btn btn-small" onclick="$('#pr-edit-form').show();$('.pr-not-edit').hide()">${_("Edit")}</a> </div> %endif </div>