remove error when container can`t be resolved, needed for destroy method
This commit is contained in:
parent
ada3a4350a
commit
04a7d06d6f
@ -131,11 +131,7 @@ Applied as jQuery method.
|
|||||||
}
|
}
|
||||||
//second, try `containerName`
|
//second, try `containerName`
|
||||||
container = this.$element.data(this.containerName);
|
container = this.$element.data(this.containerName);
|
||||||
if(container) {
|
return container;
|
||||||
return container;
|
|
||||||
} else {
|
|
||||||
$.error('Can`t get container in element`s .data(). Container: ' + this.containerName);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/* call native method of underlying container, e.g. this.$element.popover('method') */
|
/* call native method of underlying container, e.g. this.$element.popover('method') */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user