From 301dbb5df300a2976071f342beac3605ab79c346 Mon Sep 17 00:00:00 2001 From: Rex Tseng Date: Thu, 9 Aug 2018 04:32:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=E7=B6=B2=E5=9D=80?= =?UTF-8?q?=E5=B8=B6=E6=9C=89=20port=20=E7=9A=84=E6=99=82=E5=80=99?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E9=80=A3=E6=8E=A5=E7=9A=84=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index e6e57658..195b38a2 100644 --- a/js/script.js +++ b/js/script.js @@ -936,7 +936,7 @@ async function show_settings() { if (update.data == "upgrade") { mdui.snackbar('伺服器重新啟動', { buttonText: '重新連接', - onButtonClick: () => window.location.replace('//' + window.location.hostname), + onButtonClick: () => window.location.reload(), }) } else if (update.data == "socket") {