prepare to fix min
This commit is contained in:
@ -63,8 +63,6 @@
|
||||
.dropdown-menu {
|
||||
border-radius: 3px;
|
||||
margin:0;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border: 1px solid @hColor;
|
||||
/*overflow-x: hidden; */
|
||||
/*overflow-y: scroll;*/
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user