Commit 97e73171 authored by insert's avatar insert 🎺

Fix on all browsers

parent 1351b329
......@@ -60,7 +60,7 @@
el.innerHTML = ans[1].replace(/\n/g, '');
let widget = $('#template_container_onlinetest_question_widget > div');
Log("Injecting element into body.");
widget.children()[2].after(el);
$('.head.fadein').after(el);
let parsed;
if (ans[0].includes('"')) {
parsed = /"([\s\S]+?)"/g.exec(ans[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment