Commit 66100a72 authored by Pascal Hartig's avatar Pascal Hartig

Merge pull request #569 from stephenplusplus/gh-pages

#568 Fix - insertAdjacentElement
parents a71f2a35 63dfcd42
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
aside.className = 'learn'; aside.className = 'learn';
document.body.className = (document.body.className + ' learn-bar').trim(); document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside); document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
}; };
appendSourceLink(); appendSourceLink();
......
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