MediaWiki:Citizen.js:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第71行: | 第71行: | ||
// 获取对应内容 | // 获取对应内容 | ||
const content = document.getElementById(contentId); | const content = document.getElementById(contentId); | ||
contentContainer.innerHTML = '<span style="font-size: 1.5em; font-weight: bold; position: relative; top: 16px; line-height: 0;">' + contentId.slice(0, | contentContainer.innerHTML = '<span style="font-size: 1.5em; font-weight: bold; position: relative; top: 16px; line-height: 0;">' + contentId.slice(0, -2) + '</span>'; | ||
content.style.display = 'grid'; // 解除源内容的隐藏 | content.style.display = 'grid'; // 解除源内容的隐藏 | ||