summaryrefslogtreecommitdiff
path: root/src/client/components/global
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-03-03 01:03:29 +0900
committerGitHub <noreply@github.com>2021-03-03 01:03:29 +0900
commit5e9cc09fcb6cb88cc4d2c3040bf085e9e278d22e (patch)
tree246d32546b846566e3dcbd324cd4054cd9a733b9 /src/client/components/global
parentwip: better error handling (diff)
downloadsharkey-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.vue5
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();