Fix jshint error

This commit is contained in:
Nick O'Leary 2021-04-19 10:43:01 +01:00
parent 4a4e7fc7cb
commit 3f43dc1855
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 1 additions and 1 deletions

View File

@ -1004,7 +1004,7 @@
this.uiSelect.hide();
},
disable: function(val) {
if(val === undefined || !!val === true) {
if(val === undefined || !!val ) {
this.uiSelect.attr("disabled", "disabled");
} else {
this.uiSelect.attr("disabled", null); //remove attr