diff --git a/src/const.json b/src/const.json index e39db6e90d..1032ed538f 100644 --- a/src/const.json +++ b/src/const.json @@ -1,5 +1,5 @@ { "themeColor": "#87bb35", "themeColorForeground": "#fff", - "idea": ["#f13049"] + "idea": ["#f13049", "#f43636"] } diff --git a/src/web/app/boot.js b/src/web/app/boot.js index cc92357579..426c7be40e 100644 --- a/src/web/app/boot.js +++ b/src/web/app/boot.js @@ -139,11 +139,7 @@ function fetchme(token, cb) { me.data ? done() : init(); }); }, () => { - riot.mount(document.body.appendChild(document.createElement('mk-core-error')), { - retry: () => { - fetchme(token, cb); - } - }); + riot.mount(document.body.appendChild(document.createElement('mk-error'))); }); function done() { diff --git a/src/web/app/common/tags/core-error.tag b/src/web/app/common/tags/error.tag similarity index 87% rename from src/web/app/common/tags/core-error.tag rename to src/web/app/common/tags/error.tag index dd6f994ea2..42d7642827 100644 --- a/src/web/app/common/tags/core-error.tag +++ b/src/web/app/common/tags/error.tag @@ -1,4 +1,4 @@ - +

サーバーに接続できません

@@ -7,7 +7,7 @@ -
+ diff --git a/src/web/app/common/tags/index.js b/src/web/app/common/tags/index.js index dfec571478..5dc4ef4546 100644 --- a/src/web/app/common/tags/index.js +++ b/src/web/app/common/tags/index.js @@ -1,4 +1,4 @@ -require('./core-error.tag'); +require('./error.tag'); require('./url.tag'); require('./url-preview.tag'); require('./time.tag');