From 35f4fa6aa7bb0e416ffab199f521ca4adfb99e92 Mon Sep 17 00:00:00 2001 From: Gabe Yuan Date: Tue, 26 Dec 2023 10:08:36 +0800 Subject: [PATCH] fix: register menu command when hide fab button --- src/common.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common.js b/src/common.js index eec6e83..778880a 100644 --- a/src/common.js +++ b/src/common.js @@ -112,10 +112,6 @@ function runIframe(setting) { */ async function showFab(translator) { const fab = await getFabWithDefault(); - if (fab.isHide) { - return; - } - const $action = document.createElement("div"); $action.setAttribute("id", APP_LCNAME); document.body.parentElement.appendChild($action);