From e496ae9b61812f529900d39a582fcf0bdd89ba7f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 31 Mar 2023 00:24:19 +0800 Subject: [PATCH] update 2023-03-31 00:24:19 --- luci-app-rtbwmon/Makefile | 2 +- .../htdocs/luci-static/rtbwmon/rtbwmon.js | 12 ++++++++---- v2ray-geodata/Makefile | 4 ++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/luci-app-rtbwmon/Makefile b/luci-app-rtbwmon/Makefile index d3a1f1e6c..8db787f76 100644 --- a/luci-app-rtbwmon/Makefile +++ b/luci-app-rtbwmon/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk -PKG_VERSION:=1.0.2-1 +PKG_VERSION:=1.0.3-1 PKG_RELEASE:= PKG_MAINTAINER:=jjm2473 diff --git a/luci-app-rtbwmon/htdocs/luci-static/rtbwmon/rtbwmon.js b/luci-app-rtbwmon/htdocs/luci-static/rtbwmon/rtbwmon.js index d712fc0e3..0ce637e4c 100644 --- a/luci-app-rtbwmon/htdocs/luci-static/rtbwmon/rtbwmon.js +++ b/luci-app-rtbwmon/htdocs/luci-static/rtbwmon/rtbwmon.js @@ -70,7 +70,8 @@ const createTR = function(content) { let res = document.createElement('tr'); res.classList.add("tr"); - res.replaceChildren(...content) + res.innerHTML=""; + res.append(...content); return res; }; @@ -238,7 +239,8 @@ // display data let table = document.getElementById('clients'); - table.replaceChildren(...data.map(rowToTr)); + table.innerHTML=""; + table.append(...data.map(rowToTr)); }; // HEADER @@ -305,7 +307,8 @@ const initHeader = function() { // set sorting arrows let theader = document.getElementById('theader'); - theader.replaceChildren(...wrt.headers.map(h=>createTH(h.title, h)).map(th=>{ + theader.innerHTML=""; + theader.append(...wrt.headers.map(h=>createTH(h.title, h)).map(th=>{ th.appendChild(document.createElement("span")); return th; })); @@ -517,7 +520,8 @@ return option; }); let first = iface_select.firstElementChild; - iface_select.replaceChildren(first, ...ifaces); + iface_select.innerHTML=""; + iface_select.append(first, ...ifaces); }, function(err) { alert(err); }); diff --git a/v2ray-geodata/Makefile b/v2ray-geodata/Makefile index 20f20f2c4..72b6a5500 100644 --- a/v2ray-geodata/Makefile +++ b/v2ray-geodata/Makefile @@ -21,13 +21,13 @@ define Download/geoip HASH:=1b6beebefa6ee3fb68e824d4664ccd75a21e8831700bb352d3b74d1c298e9793 endef -GEOSITE_VER:=20230329140310 +GEOSITE_VER:=20230330124323 GEOSITE_FILE:=dlc.dat.$(GEOSITE_VER) define Download/geosite URL:=https://github.com/v2fly/domain-list-community/releases/download/$(GEOSITE_VER)/ URL_FILE:=dlc.dat FILE:=$(GEOSITE_FILE) - HASH:=e7d50e9ba35e86ee29846dfb05375f521a2882e178d43a19e5e06d72b528dde7 + HASH:=d95ebbd18bc43d037591c73f5b650e42bd64f868c08c2d98c82c0a4268b78b86 endef define Package/v2ray-geodata/template