提交 9c7b9823 编写于 作者: J Jason Park

minor

上级 2cb932b0
......@@ -208,7 +208,7 @@ $('.files_bar > .wrapper').scroll(function () {
var $right = $wrapper.children('button:last-child');
var left = $left.position().left;
var right = $right.position().left + $right.outerWidth();
if (definitelyBigger(clipWidth, right)) {
if (definitelyBigger(0, left) && definitelyBigger(clipWidth, right)) {
var scrollLeft = $wrapper.scrollLeft();
$wrapper.scrollLeft(scrollLeft + clipWidth - right);
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册