mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Fixed toggeling checkbox on click label
This commit is contained in:
parent
54d79ae751
commit
859bdde08d
@ -811,8 +811,8 @@ OC.Contacts = OC.Contacts || {
|
||||
});
|
||||
|
||||
this.$contactList.on('click', 'label', function(event) {
|
||||
var id = $(this).attr('for');
|
||||
$(id).prop('checked', !checkBoxes.prop('checked'));
|
||||
var id = '#' + $(this).attr('for');
|
||||
$(id).prop('checked', !$(id).prop('checked'));
|
||||
return false; // Prevent opening contact
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user