fix: register menu command when hide fab button
This commit is contained in:
@@ -112,10 +112,6 @@ function runIframe(setting) {
|
|||||||
*/
|
*/
|
||||||
async function showFab(translator) {
|
async function showFab(translator) {
|
||||||
const fab = await getFabWithDefault();
|
const fab = await getFabWithDefault();
|
||||||
if (fab.isHide) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const $action = document.createElement("div");
|
const $action = document.createElement("div");
|
||||||
$action.setAttribute("id", APP_LCNAME);
|
$action.setAttribute("id", APP_LCNAME);
|
||||||
document.body.parentElement.appendChild($action);
|
document.body.parentElement.appendChild($action);
|
||||||
|
|||||||
Reference in New Issue
Block a user