mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-20 14:36: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) {
|
removeItemsByValue(value) {
|
||||||
if (!value || !isType('String', value)) {
|
if (!value || !isType('String', value)) {
|
||||||
if (!this.config.silent) {
|
|
||||||
console.error('removeItemsByValue: No value was passed to be removed');
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2157,9 +2154,6 @@ class Choices {
|
||||||
*/
|
*/
|
||||||
_removeItem(item) {
|
_removeItem(item) {
|
||||||
if (!item || !isType('Object', item)) {
|
if (!item || !isType('Object', item)) {
|
||||||
if (!this.config.silent) {
|
|
||||||
console.error('removeItem: No item object was passed to be removed');
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue