mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-27 20:04:40 +02:00
lint fixes
This commit is contained in:
@@ -18,7 +18,7 @@ export class StickySidebar {
|
||||
this.container = container;
|
||||
this.el = this.container.children[0] as HTMLElement;
|
||||
this.el.style.position = 'sticky';
|
||||
this.spacer = document.createElement('div');
|
||||
this.spacer = window.document.createElement('div');
|
||||
this.container.prepend(this.spacer);
|
||||
this.marginTop = marginTop;
|
||||
this.offsetTop = this.container.getBoundingClientRect().top;
|
||||
|
||||
Reference in New Issue
Block a user