Tweaked scroll link beacause of strange behaviors on bottom of the document

This commit is contained in:
benweet 2014-02-16 15:33:04 +00:00
parent bce52d8a9a
commit c5a1497374

View File

@ -194,9 +194,9 @@ define([
lastPreviewScrollTop = previewScrollTop + now; lastPreviewScrollTop = previewScrollTop + now;
}, },
done: function() { done: function() {
_.defer(function() { setTimeout(function() {
isPreviewMoving = false; isPreviewMoving = false;
}); }, 100);
}, },
}).dequeue('scrollLinkFx'); }).dequeue('scrollLinkFx');
} }
@ -239,9 +239,9 @@ define([
lastEditorScrollTop = editorScrollTop + now; lastEditorScrollTop = editorScrollTop + now;
}, },
done: function() { done: function() {
_.defer(function() { setTimeout(function() {
isEditorMoving = false; isEditorMoving = false;
}); }, 100);
}, },
}).dequeue('scrollLinkFx'); }).dequeue('scrollLinkFx');
} }