hide all other token dropdowns when showing one

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2016-12-06 14:11:54 +01:00
parent af6ee647da
commit 4f6993a15e
No known key found for this signature in database
GPG key ID: 425003AC385454C5

View file

@ -357,6 +357,7 @@
_onConfigureToken: function (event) {
var $target = $(event.target);
var $row = $target.closest('tr');
$('.token-list tr').removeClass('active');
$row.toggleClass('active');
var id = $row.data('id');
},