AY 4 سال پیش
والد
کامیت
715eab7c1c
5فایلهای تغییر یافته به همراه5 افزوده شده و 9 حذف شده
  1. 1 2
      webroot/setting/banip.html
  2. 1 2
      webroot/setting/banplayer.html
  3. 1 1
      webroot/setting/eula.html
  4. 1 2
      webroot/setting/ops.html
  5. 1 2
      webroot/setting/whitelist.html

+ 1 - 2
webroot/setting/banip.html

@@ -30,8 +30,7 @@
 
 </body>
 <script>
-    var refreshInfo;
-    var currentOnlineUser = [];
+    updateInfo();
     setInterval(function() {
         updateInfo()
     }, 5000);

+ 1 - 2
webroot/setting/banplayer.html

@@ -31,8 +31,7 @@
     </div>
 </body>
 <script>
-    var refreshInfo;
-    var currentOnlineUser = [];
+    updateInfo();
     setInterval(function() {
         updateInfo()
     }, 5000);

+ 1 - 1
webroot/setting/eula.html

@@ -24,7 +24,7 @@
     <div class="ui button" onclick="submit()">Update</div>
 </body>
 <script>
-    updateInfo()
+    updateInfo();
 
     function updateInfo() {
         $.get("/eula", function(data) {

+ 1 - 2
webroot/setting/ops.html

@@ -33,8 +33,7 @@
     </div>
 </body>
 <script>
-    var refreshInfo;
-    var currentOnlineUser = [];
+    updateInfo();
     setInterval(function() {
         updateInfo()
     }, 5000);

+ 1 - 2
webroot/setting/whitelist.html

@@ -29,8 +29,7 @@
     </div>
 </body>
 <script>
-    var refreshInfo;
-    var currentOnlineUser = [];
+    updateInfo();
     setInterval(function() {
         updateInfo()
     }, 5000);