From 9c4a8f7bf35fbc17e4483fdee7a38bec7a4306e5 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 28 Jan 2026 16:13:59 +0800 Subject: [PATCH] bugfix --- bricks/bricks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bricks/bricks.js b/bricks/bricks.js index 3c2b497..902fda4 100644 --- a/bricks/bricks.js +++ b/bricks/bricks.js @@ -501,8 +501,8 @@ bricks.getWidgetById = function(idset, from_widget){ console.log('get_by_id() return null',id, fromw, downward); return null; } - if (typeof(el.bricks_widget) !== 'undefined'){ - return el.bricks_widget; + if (typeof(nel.bricks_widget) !== 'undefined'){ + return nel.bricks_widget; } console.log('get_by_id() found dom_ele, but not bricks widget, return null',id, fromw, downward); return null;