diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-27 02:51:38 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-27 02:51:38 +0900 |
| commit | 134be39d38ed8cbd5ed82d7bb9af2cae6eb33fd0 (patch) | |
| tree | 9f46471e0cf82562edfaf4469044a1e15d641bb6 /src/web/app/common | |
| parent | [Client] Fix design (diff) | |
| download | sharkey-134be39d38ed8cbd5ed82d7bb9af2cae6eb33fd0.tar.gz sharkey-134be39d38ed8cbd5ed82d7bb9af2cae6eb33fd0.tar.bz2 sharkey-134be39d38ed8cbd5ed82d7bb9af2cae6eb33fd0.zip | |
Clean up :sparkles:
Diffstat (limited to 'src/web/app/common')
| -rw-r--r-- | src/web/app/common/scripts/check-for-update.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/web/app/common/scripts/check-for-update.js b/src/web/app/common/scripts/check-for-update.js deleted file mode 100644 index cd7279e3b8..0000000000 --- a/src/web/app/common/scripts/check-for-update.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = () => { - fetch('/api:meta').then(res => { - res.json().then(meta => { - if (meta.commit.hash !== VERSION) { - if (window.confirm('新しいMisskeyのバージョンがあります。更新しますか?\r\n(このメッセージが繰り返し表示される場合は、サーバーにデータがまだ届いていない可能性があるので、少し時間を置いてから再度お試しください)')) { - location.reload(true); - } - } - }); - }); -}; |