diff --git a/src/const.json b/src/const.json index e39db6e90..1032ed538 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 cc9235757..426c7be40 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 dd6f994ea..42d764282 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 dfec57147..5dc4ef454 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');