update 2025-04-10 20:42:40
This commit is contained in:
parent
d9acd91c54
commit
6994125ace
|
@ -1,7 +1,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=UA2F
|
||||
PKG_VERSION:=4.10.1
|
||||
PKG_VERSION:=4.10.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_LICENSE:=GPL-3.0-only
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-passwall
|
||||
PKG_VERSION:=25.4.1
|
||||
PKG_VERSION:=25.4.10
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -7,24 +7,6 @@
|
|||
*
|
||||
* Licensed to the public under the Apache License 2.0
|
||||
*/
|
||||
// const isDark = localStorage.getItem("isDark");
|
||||
// if (isDark == 1) {
|
||||
// const element = document.querySelector("body");
|
||||
// element.classList.add("dark");
|
||||
// }
|
||||
// const themetoggler = document.querySelector(".themetoggler");
|
||||
// themetoggler.addEventListener(
|
||||
// "click",
|
||||
// function (e) {
|
||||
// e.preventDefault();
|
||||
// const element = document.querySelector("body");
|
||||
// element.classList.toggle("dark");
|
||||
|
||||
// const isDark = localStorage.getItem("isDark");
|
||||
// localStorage.setItem("isDark", isDark == 1 ? 0 : 1);
|
||||
// },
|
||||
// false
|
||||
// );
|
||||
|
||||
function pdopenbar() {
|
||||
document.getElementById("header-bar-left").style.width = "300px";
|
||||
|
@ -39,3 +21,31 @@ function pdclosebar() {
|
|||
document.getElementById("header-bar-right").style.display = "block";
|
||||
document.getElementById("header-bar-right").style.width = "50px"
|
||||
}
|
||||
|
||||
function initScrollContainers() {
|
||||
document.querySelectorAll('.cbi-section, .mainmenu').forEach(section => {
|
||||
const content = section.querySelector('.content');
|
||||
if (!content) return;
|
||||
|
||||
const checkOverflow = () => {
|
||||
section.classList.toggle(
|
||||
'auto-scroll-container',
|
||||
content.scrollHeight > section.clientHeight
|
||||
);
|
||||
};
|
||||
|
||||
checkOverflow();
|
||||
new MutationObserver(checkOverflow).observe(content, { childList: true, subtree: true });
|
||||
|
||||
section.addEventListener('touchstart', () => {
|
||||
section.classList.add('touch-active');
|
||||
}, { passive: true });
|
||||
|
||||
section.addEventListener('touchend', () => {
|
||||
setTimeout(() => section.classList.remove('touch-active'), 1000);
|
||||
}, { passive: true });
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
document.addEventListener('DOMContentLoaded', initScrollContainers);
|
|
@ -8,12 +8,12 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=wxbase
|
||||
PKG_VERSION:=3.2.6
|
||||
PKG_VERSION:=3.2.7
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=wxWidgets-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=https://github.com/wxWidgets/wxWidgets/releases/download/v$(PKG_VERSION)
|
||||
PKG_HASH:=939e5b77ddc5b6092d1d7d29491fe67010a2433cf9b9c0d841ee4d04acb9dce7
|
||||
PKG_HASH:=69a1722f874d91cd1c9e742b72df49e0fab02890782cf794791c3104cee868c6
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/wxWidgets-$(PKG_VERSION)
|
||||
PKG_CHECK_FORMAT_SECURITY:=0
|
||||
|
|
Loading…
Reference in New Issue