forked from mirrors/bookwyrm
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