Skip to content

Commit 3d64410

Browse files
author
Mike Castle
committed
Have Feed start using the new PageDetails argument.
Issue #130. ␄
1 parent 70fe510 commit 3d64410

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: linkedin-tool.user.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -2130,9 +2130,15 @@
21302130
snapToTop: false,
21312131
};
21322132

2133+
/** @type {Page~PageDetails} */
2134+
static #details = {
2135+
pathname: '/feed/',
2136+
pageReadyCSS: 'main',
2137+
};
2138+
21332139
/** Create a Feed instance. */
21342140
constructor() {
2135-
super();
2141+
super(Feed.#details);
21362142
this.#dummy = this.addService(DummyService);
21372143
this.#postScroller = new Scroller(Feed.#postsWhat, Feed._postsHow);
21382144
this.#postScroller.activate();

0 commit comments

Comments
 (0)