mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 07:44:46 +08:00
Add check for existing elements
This commit is contained in:
parent
ba9edcdbe1
commit
4d3e318174
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@
|
|||
.attr('disabled', !this.checked);
|
||||
});
|
||||
|
||||
new PerfectScrollbar(form.find('.teams-list')[0]);
|
||||
if (form.find('.teams-list').length) new PerfectScrollbar(form.find('.teams-list')[0]);
|
||||
|
||||
permissionCBs.change(function() {
|
||||
var changes = JSON.parse(permissionChanges.val());
|
||||
|
|
Loading…
Reference in a new issue