*/
closePopup: function() {
Rico._RemoveOpenPopup(this);
- if (!Rico.visible(this.container)) return;
+ if (!this.visible()) return;
if (this.container.id) Rico.log('closePopup '+this.container.id);
if (this.dragEnabled) this._endDrag();
this.container.style.display="none";