Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit f40ea05

Browse files
committed
Merge pull request #9153 from adobe/randy/issue-9037
Restore scroll position after Quick Open
2 parents 66c9fd8 + ce35813 commit f40ea05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search/QuickOpen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ define(function (require, exports, module) {
512512
// So we wait until after this call chain is complete before actually closing the dialog.
513513
var self = this;
514514
setTimeout(function () {
515-
self.modalBar.close(!scrollPos).done(function () {
515+
self.modalBar.close(!!scrollPos).done(function () {
516516
self._closeDeferred.resolve();
517517
});
518518

0 commit comments

Comments
 (0)