diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-08-01 21:29:32 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-01 21:29:32 +0900 |
commit | 7104f122f94e17ece56d2bd832d007c716e5631e (patch) | |
tree | 5de9d7ee7047402d8e341d342e6d5f5c44a1348d /src/content | |
parent | 3db11041c5b75c30b584893937876b6471e67cf2 (diff) | |
parent | f65c068c67371f00b7853b4790b926e672f3ca4f (diff) |
Merge pull request #621 from chocolateboy/tab-close-select-left
Add an option to close the current tab and select the tab to the left
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/presenters/ScrollPresenter.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/presenters/ScrollPresenter.ts b/src/content/presenters/ScrollPresenter.ts index c06efca..e83f172 100644 --- a/src/content/presenters/ScrollPresenter.ts +++ b/src/content/presenters/ScrollPresenter.ts @@ -90,7 +90,7 @@ class Scroller { clearTimeout(lastTimeoutId); lastTimeoutId = null; } - lastTimeoutId = setTimeout(resetScrolling, 100); + lastTimeoutId = window.setTimeout(resetScrolling, 100); } } |