luci-app-unblockmusic: compat with luci-theme-openwrt-2020 theme
@@ -4,10 +4,10 @@ XHR.poll(3, '<%=url([[admin]], [[services]], [[unblockmusic]], [[status]])%>', n
var tb = document.getElementById('unblockmusic_status');
if (data && tb) {
if (data.running) {
- var links = '<em><b><font color=green>UnblockNeteaseMusic <%:RUNNING%></font></b></em>';
+ var links = '<em><b style=color:green>UnblockNeteaseMusic <%:RUNNING%></b></em>';
tb.innerHTML = links;
} else {
- tb.innerHTML = '<em><b><font color=red>UnblockNeteaseMusic <%:NOT RUNNING%></font></b></em>';
+ tb.innerHTML = '<em><b style=color:red>UnblockNeteaseMusic <%:NOT RUNNING%></b></em>';
}
}
}
