1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-11 13:18:59 +09:00

Fix: オフライン時に大室櫻子が出てこない (#5480)

* Fix: オフライン時に大室櫻子が出てこない

* use onerror
This commit is contained in:
MeiMei 2019-10-04 10:27:57 +09:00 committed by syuilo
parent 7298b41a16
commit 533884dcaa

View File

@ -1,6 +1,6 @@
<template>
<div class="mk-connect-failed">
<img src="https://raw.githubusercontent.com/syuilo/misskey/develop/src/client/assets/error.jpg" alt=""/>
<img src="/assets/error.jpg" onerror="this.src='https://raw.githubusercontent.com/syuilo/misskey/develop/src/client/assets/error.jpg';" alt=""/>
<h1>{{ $t('title') }}</h1>
<p class="text">
<span>{{ this.$t('description').substr(0, this.$t('description').indexOf('{')) }}</span>