if (on_el) {
- this.updatePosition(placement);
+ this.updatePosition(this.placement, true);
} else {
// this is usually just done by the builder = to show the popoup in the middle of the scren.
*/
updatePosition : function(placement, try_move)
{
+ placement
this.el.removeClass([
'fade','top','bottom', 'left', 'right','in',
'bs-popover-top','bs-popover-bottom', 'bs-popover-left', 'bs-popover-right'