更改

跳转至: 导航搜索

Widget:FileChanges/zh

删除238字节2019年10月9日 (三) 12:46
移除 <script>,改为标签内嵌以便单个页面加载多个该 widget
<pre style="margin: 0.1em"><p style="font-size: 120%; margin: none"><b>文件修改记录</b><b class="fc-button" style="float: right; background: #f6f6f6; padding: 2px" onclick='if (this.parentElement.nextSibling.style.display == "block"fcShowHide(){this.parentElement.nextSibling.style.display = "none"; this.innerHTML = "[展开]"} else {this.parentElement.nextSibling.style.display = "block"; this.innerHTML = "[收起]"}'>[收起]</b></p><div class="fc-content" style="display: blocknone; margin: 0.2em 0.1em; font-size: 14.5px; padding: none"><!--{$content|escape:'没有可用的数据。'}--></div></pre> <script type="text/javascript">function fcShowHide() { var fcContent = document.getElementsByClassName("fc-content")[0], fcButton = document.getElementsByClassName("fc-button")[0]; if (fcContent.style.display == "block") { fcContent.style.display = "none"; fcButton.innerHTML = "[展开]"; } else { fcContent.style.display = "block"; fcButton.innerHTML = "[收起]"; };}fcShowHide();</script>
3,425
个编辑

导航菜单