Skip to content

Commit edcffc9

Browse files
format
1 parent 3640e5d commit edcffc9

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

src/lib/run.js

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -343,20 +343,22 @@ async function run(
343343
theme: 'dark'
344344
});
345345
346-
${target === "inapp"
347-
? "eruda._shadowRoot.querySelector('.eruda-entry-btn').style.display = 'none';"
348-
: ""
349-
}
346+
${
347+
target === "inapp"
348+
? "eruda._shadowRoot.querySelector('.eruda-entry-btn').style.display = 'none';"
349+
: ""
350+
}
350351
351352
sessionStorage.setItem('__console_available', true);
352353
document.addEventListener('showconsole', function () {eruda.show()});
353354
document.addEventListener('hideconsole', function () {eruda.hide()});
354355
}else if(document.querySelector('c-toggler')){
355-
${target === "inapp" ||
356-
(target !== "inapp" && !appSettings.value.showConsoleToggler)
357-
? "document.querySelector('c-toggler').style.display = 'none';"
358-
: ""
359-
}
356+
${
357+
target === "inapp" ||
358+
(target !== "inapp" && !appSettings.value.showConsoleToggler)
359+
? "document.querySelector('c-toggler').style.display = 'none';"
360+
: ""
361+
}
360362
}
361363
setTimeout(function(){
362364
var scripts = document.querySelectorAll('.${uuid}');

0 commit comments

Comments
 (0)