mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 09:31:08 +00:00
Removes scrollIntoView script behavior for tabs
This commit is contained in:
parent
ac36aa9327
commit
5d4efd457a
1 changed files with 0 additions and 4 deletions
4
bookwyrm/static/js/vendor/tabs.js
vendored
4
bookwyrm/static/js/vendor/tabs.js
vendored
|
@ -56,10 +56,6 @@ class TabGroup {
|
|||
tab.addEventListener('keydown', this.keydownEventListener.bind(this));
|
||||
tab.addEventListener('keyup', this.keyupEventListener.bind(this));
|
||||
|
||||
if (isSelected) {
|
||||
tab.scrollIntoView();
|
||||
}
|
||||
|
||||
tab.index = count++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue