MCPcopy Create free account
hub / github.com/dajie111/nodeseek-userscript / updateLabelText

Function updateLabelText

quickReply.js:1050–1058  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1048
1049 // 创建状态提示文本
1050 const updateLabelText = () => {
1051 const isChecked = autoSubmitCheckbox.checked;
1052 autoSubmitLabel.innerHTML = `
1053 选择回复后自动点击发布评论按钮
1054 <span style="color: ${isChecked ? '#28a745' : '#6c757d'}; font-weight: 500;">
1055 ${isChecked ? '(已开启)' : '(已关闭)'}
1056 </span>
1057 `;
1058 };
1059
1060 // 初始化文本
1061 updateLabelText();

Callers 1

createQuickReplyContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected