remove error when container can`t be resolved, needed for destroy method

This commit is contained in:
vitalets 2013-08-07 11:44:40 +04:00
parent ada3a4350a
commit 04a7d06d6f

@ -131,11 +131,7 @@ Applied as jQuery method.
}
//second, try `containerName`
container = this.$element.data(this.containerName);
if(container) {
return container;
} else {
$.error('Can`t get container in element`s .data(). Container: ' + this.containerName);
}
return container;
},
/* call native method of underlying container, e.g. this.$element.popover('method') */