* Code for fix bug while change scroll .
This commit is contained in:
@@ -288,7 +288,7 @@ $(function()
|
||||
|
||||
if(isFirstLoad) ele.data('zui.tree').collapse();
|
||||
|
||||
var $leaf = ele.find('li.active');
|
||||
var $leaf = ele.find('li.active > a');
|
||||
if($leaf.length && $('#fileTree').height() >= $('#sideBar').height()) $('#sideBar')[0].scrollTop = $($leaf[$leaf.length - 1]).offset().top;
|
||||
|
||||
ele.on('click', '.icon-drop', function(e)
|
||||
|
||||
Reference in New Issue
Block a user