User:Polygnotus/Scripts/Surveys.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 224:
});
// Insert afterat the firsttop paragraphof or at the topmw-content-text
const $content = $('#mw-content-text');
const $firstPara = $content.find('p').firstprepend($surveyBox);
if ($firstPara.length) {
$firstPara.after($surveyBox);
} else {
$content.prepend($surveyBox);
}
})
.catch(error => {