diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-03 01:03:29 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-03 01:03:29 +0900 |
| commit | 5e9cc09fcb6cb88cc4d2c3040bf085e9e278d22e (patch) | |
| tree | 246d32546b846566e3dcbd324cd4054cd9a733b9 /src/client/components/global | |
| parent | wip: better error handling (diff) | |
| download | sharkey-5e9cc09fcb6cb88cc4d2c3040bf085e9e278d22e.tar.gz sharkey-5e9cc09fcb6cb88cc4d2c3040bf085e9e278d22e.tar.bz2 sharkey-5e9cc09fcb6cb88cc4d2c3040bf085e9e278d22e.zip | |
Bios (#7286)
* wip
* wip
* wip
Diffstat (limited to 'src/client/components/global')
| -rw-r--r-- | src/client/components/global/a.vue | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/components/global/a.vue b/src/client/components/global/a.vue index cf894deaba..d293cb571f 100644 --- a/src/client/components/global/a.vue +++ b/src/client/components/global/a.vue @@ -98,6 +98,11 @@ export default defineComponent({ }, nav() { + if (this.behavior === 'browser') { + location.href = this.to; + return; + } + if (this.to.startsWith('/my/messaging')) { if (ColdDeviceStorage.get('chatOpenBehavior') === 'window') return this.window(); if (ColdDeviceStorage.get('chatOpenBehavior') === 'popout') return this.popout(); |