fix: register menu command when hide fab button

This commit is contained in:
Gabe Yuan
2023-12-26 10:08:36 +08:00
parent 66fc2d22ed
commit 35f4fa6aa7

View File

@@ -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);