“MediaWiki:Common.js”版本间的差异
来自亿业科技接口
Lebesgue.yu(讨论 | 贡献) (以“ $(document).ready(function(){ /* $("#mw-panel h3").click(function(){ var curTabIndex = $(this).attr("tabindex"); $.each($("#mw-panel h3"),function(in...”为内容创建页面) |
(没有差异)
|
2017年2月27日 (一) 06:45的最后版本
$(document).ready(function(){ /* $("#mw-panel h3").click(function(){ var curTabIndex = $(this).attr("tabindex"); $.each($("#mw-panel h3"),function(index ,obj){ if(curTabIndex != $(obj).attr("tabindex")){ $(obj).next().hide(); } }); }); */ setTimeout(function(){ if($("#content").height() < $("#mw-panel").height()) { $("#content").css("height",$("#mw-panel").height()); } },1000); });