From aa95c11e2d825682d95dbd5bc1c5b7a6f41224eb Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 26 Dec 2025 10:46:29 +0800 Subject: [PATCH] bugfix --- bricks/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bricks/popup.js b/bricks/popup.js index 071a204..3e2d56a 100644 --- a/bricks/popup.js +++ b/bricks/popup.js @@ -179,7 +179,7 @@ bricks.Popup = class extends bricks.VBox { positify_tl(){ var rect, w, h, t, l; - if (self.opts.eventpos && self.opts.origin_event){ + if (this.opts.eventpos && this.opts.origin_event){ this.set_style('top', this.origin_event.offsetY + 'px'); this.set_style('left', this.origin_event.offsetX + 'px'); return;