From dd34d803e2d250b34f701ea8f24835ca3163ead6 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 26 Mar 2025 10:21:41 +0100 Subject: [PATCH] Fix duplicated button in support app --- www/support/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/support/ui.js b/www/support/ui.js index b9e377c26..a55711b1c 100644 --- a/www/support/ui.js +++ b/www/support/ui.js @@ -162,7 +162,7 @@ define([ var makeForm = function (ctx, opts, cb) { let { oldData, recorded, title, hideNotice } = opts || {}; var button; - cb = Util.once(cb); + cb = cb && Util.once(cb); if (typeof(cb) === "function") { button = h('button.btn.btn-primary.cp-support-list-send', Messages.contacts_send);