Skip to content

header.htm: fix luci.js double included#604

Open
jjm2473 wants to merge 1 commit intojerrykuku:masterfrom
jjm2473:fix-luci-js-double-included
Open

header.htm: fix luci.js double included#604
jjm2473 wants to merge 1 commit intojerrykuku:masterfrom
jjm2473:fix-luci-js-double-included

Conversation

@jjm2473
Copy link
Contributor

@jjm2473 jjm2473 commented Aug 15, 2025

luci.js will be included in luci-base's header.htm or header.ut:
https://github.com/openwrt/luci/blob/openwrt-22.03/modules/luci-base/luasrc/view/header.htm
https://github.com/openwrt/luci/blob/openwrt-24.10/modules/luci-base/ucode/template/header.ut

header.ut 这里还使用了新的版本号生成规则,所以主题这边还是别加载luci.js了,不然影响浏览器缓存。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant