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
1 changed files with 1 additions and 1 deletions

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>