prepare to fix min

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

No files matched your search

+2 -1
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();
}