prepare to fix min

This commit is contained in:
iiuazz
2014-09-11 22:46:26 +08:00
parent 9b96f0fbd1
commit 4b723eb331
5 changed files with 8 additions and 7 deletions

View File

@ -604,7 +604,8 @@ $(function() {
var target = $(this).attr("target");
// show的时候要计算高度, 防止过高
// 先show再计算, 不然高度有偏差
$(this).find("ul").html($(target).html()).show().height(getMaxDropdownHeight(this));
$(this).addClass("open");
$(this).find("ul").html($(target).html()).show(); // .height(getMaxDropdownHeight(this));
}, function() {
$(this).find("ul").hide();
}