Mercurial > kallithea
changeset 5550:03975e4a8532 stable
branches: fix 'compare branches' button
Commit b0774d79c7c95ec14ec6d23389d85ed544dd4b50 broke the 'Compare
branches' button on the repository branches page, when attempting to
replace a Yahoo UI click handler with jQuery.
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Sun, 11 Oct 2015 22:09:42 +0200 |
parents | ae750b5d7de0 |
children | 18428eab23e1 92ebcf7d8042 |
files | kallithea/templates/branches/branches.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/branches/branches.html Sun Oct 11 22:09:11 2015 +0200 +++ b/kallithea/templates/branches/branches.html Sun Oct 11 22:09:42 2015 +0200 @@ -31,7 +31,7 @@ </div> <script type="text/javascript"> -$('#compare_branches','click',function(e){ +$('#compare_branches').click(function(e){ e.preventDefault(); var org = $('input[name=compare_org]:checked')[0]; var other = $('input[name=compare_other]:checked')[0];