From b7a30faf028c2764f9574b4408f6126b6214f3ac Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sat, 23 Jan 2021 19:12:18 +0100 Subject: [PATCH] Update 0BDFDB.plugin.js --- Library/0BDFDB.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index ed0387dbc2..d281577ea7 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -1198,7 +1198,7 @@ module.exports = (_ => { let ele = BDFDB.DOMUtils.create(``); ele.addEventListener("click", e => { if (button.close) notice.close(); - if (typeof button.onClick == "function") button.onClick(e, bar); + if (typeof button.onClick == "function") button.onClick(e, notice); }); notice.appendChild(ele); }