bugfix
This commit is contained in:
parent
6e8595b5d1
commit
70a4831f2a
@ -180,8 +180,7 @@ bricks.Popup = class extends bricks.VBox {
|
|||||||
positify_tl(){
|
positify_tl(){
|
||||||
var rect, w, h, t, l;
|
var rect, w, h, t, l;
|
||||||
if (this.opts.eventpos && this.opts.origin_event){
|
if (this.opts.eventpos && this.opts.origin_event){
|
||||||
this.set_style('top', this.origin_event.clientY + 'px');
|
bricks.relocate_by_eventpos(ithis.opts.origin_event, this);
|
||||||
this.set_style('left', this.origin_event.clientX + 'px');
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.top && this.left){
|
if (this.top && this.left){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user