mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-10 01:26:34 +02:00
Remove errors to reduce file size
This commit is contained in:
parent
3b350eb71e
commit
89289ab692
|
@ -634,9 +634,6 @@ class Choices {
|
|||
*/
|
||||
removeItemsByValue(value) {
|
||||
if (!value || !isType('String', value)) {
|
||||
if (!this.config.silent) {
|
||||
console.error('removeItemsByValue: No value was passed to be removed');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2157,9 +2154,6 @@ class Choices {
|
|||
*/
|
||||
_removeItem(item) {
|
||||
if (!item || !isType('Object', item)) {
|
||||
if (!this.config.silent) {
|
||||
console.error('removeItem: No item object was passed to be removed');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue