luci-theme-argonv3: fix bugs

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
jerrykuku 2021-03-15 19:26:41 +08:00 committed by Tianling Shen
parent 74d7e3d9a6
commit 5be0b13e80
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -65,7 +65,7 @@
local currentBg = {}
local bgs = {}
local theme_dir = media .. "/background/"
local bing_background = fs.access('/etc/config/argon') and uci:get_first('argon', 'global', 'bing_background') or 0
local bing_background = fs.access('/etc/config/argon') and uci:get_first('argon', 'global', 'bing_background') or "0"
bgs,bgcount=fetchMedia("/www" .. theme_dir .. "*")
%>
<div class="login-page">