252
edits
Changes
Debugging $content.
mw.hook('wikipage.content').add(function ($content) {
console.log($content);
console.log(typeof $content);
var observer = new MutationObserver(function(mutations) {
if (document.contains($content)) {