SynchronizeTip: added close method.

This commit is contained in:
Julia Radzhabova 2017-11-10 15:41:56 +03:00
parent 580903591a
commit b3a3c0992b

View file

@ -98,6 +98,10 @@ define([
if (this.cmpEl) this.cmpEl.hide(); if (this.cmpEl) this.cmpEl.hide();
}, },
close: function() {
if (this.cmpEl) this.cmpEl.remove();
},
applyPlacement: function () { applyPlacement: function () {
var showxy = this.target.offset(); var showxy = this.target.offset();
if (this.placement == 'top') if (this.placement == 'top')