We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d4b55b commit c91e428Copy full SHA for c91e428
injected/src/features/duck-player-native.js
@@ -19,7 +19,7 @@ import { Logger } from './duckplayer/util.js';
19
*/
20
21
export class DuckPlayerNativeFeature extends ContentFeature {
22
- /** @type {{init: () => void, destroy: () => void} | null} */
+ /** @type {DuckPlayerNativeSubFeature | null} */
23
currentPage;
24
25
async init(args) {
@@ -103,6 +103,7 @@ export class DuckPlayerNativeFeature extends ContentFeature {
103
if (nextPage) {
104
logger.log('Running init handlers');
105
nextPage.onInit();
106
+ this.currentPage = nextPage;
107
108
if (document.readyState === 'loading') {
109
const loadHandler = () => {
0 commit comments