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> <template>
<div class="mk-connect-failed"> <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> <h1>{{ $t('title') }}</h1>
<p class="text"> <p class="text">
<span>{{ this.$t('description').substr(0, this.$t('description').indexOf('{')) }}</span> <span>{{ this.$t('description').substr(0, this.$t('description').indexOf('{')) }}</span>