mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
core: fix warnings
This commit is contained in:
1 parent
2daa7e2034
commit
a2bbb7a0e3
6 files changed
+10
-8
No files matched your search
@@ -100,7 +100,7 @@ const messagePage = new AutoloadPage('messagePage', (pagename) => {
|
||||
localStorage.setItem('pages', JSON.stringify(c.filter((i) => i !== selfId)));
|
||||
if (!isMaster) return;
|
||||
localStorage.removeItem('page.master');
|
||||
channel?.postMessage({ type: 'master' });
|
||||
channel.postMessage({ type: 'master' });
|
||||
};
|
||||
|
||||
function asMaster() {
|
||||
|
||||
Reference in new issue
Block a user