dock: fix JS syntax error (?? mixed with ||) that disabled every button
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -127,7 +127,7 @@ async function mint(){
|
||||
}
|
||||
let showTok = false;
|
||||
function renderManual(t){
|
||||
const c = cfg(); const title = t ?? buildTitle($("title").value) || "TITLE";
|
||||
const c = cfg(); const title = (t ?? buildTitle($("title").value)) || "TITLE";
|
||||
const user = me ? me.user : "<you>", tok = me ? me.token : "<token>";
|
||||
$("m_rtmp").textContent = `rtmp://${c.host||location.hostname}:1935/`;
|
||||
$("m_key").textContent = `${user}/${title}?user=${user}&pass=${showTok ? tok : "••••••••"}`;
|
||||
|
||||
Reference in New Issue
Block a user