DEV: adds decorateCooked id to prevent leaks

This commit is contained in:
Joffrey JAFFEUX 2019-06-24 12:28:53 +02:00 committed by GitHub
parent e22540ad73
commit 237dc05b43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@
selectors: dTocHeadingSelectors
});
});
});
}, {id: "disco-toc"});
api.cleanupStream(() => {
$(window).off("scroll.d-toc");