mirror of
https://github.com/Kenshin/simpread.git
synced 2026-01-25 14:28:34 +00:00
Fix browser action flow bug.
This commit is contained in:
parent
0e5540932f
commit
2e1370dce6
@ -51,7 +51,10 @@ browser.runtime.onMessage.addListener( function( request, sender, sendResponse )
|
||||
console.log( "watch.Lock()", result );
|
||||
new Notify().Render( "配置文件已更新,刷新当前页面后才能生效。", "刷新", ()=>window.location.reload() );
|
||||
} else {
|
||||
if ( storage.option.br_exit ) read.Exist( false ) ? read.Exit() : readMode();
|
||||
if ( storage.option.br_exit ) {
|
||||
modals.Exist() && modals.Exit();
|
||||
!modals.Exist() && read.Exist( false ) ? read.Exit() : readMode();
|
||||
}
|
||||
else readMode();
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user