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

@ -106,7 +106,8 @@ function log(o) {
id="dropdownMenu2" data-toggle="dropdown">
<i class="fa fa-angle-down"></i>
</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu2" style="width: 180px;left: -5px;" id="notebookNavForNewSharedNote">
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu2" style="width: 180px;left: -5px;"
id="notebookNavForNewSharedNote">
</ul>
</div>
</div>
@ -324,10 +325,11 @@ function log(o) {
<i class="fa fa-angle-down"></i>
-->
</a>
<!-- 如果notebook过多, 则会产生滚动 -->
<!-- 如果notebook过多, 则会产生滚动 弃用
<div class="dropdown-menu dropdown-list" style="left: 5px;">
<ul role="menu" aria-labelledby="dropdownMenu1" id="notebookNavForListNote"></ul>
</div>
-->
</div>
<!-- 共享的笔记本 -->

View File

@ -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

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