This commit is contained in:
Harvey Zack committed 2018-11-20 19:52:05 +08:00
1 parent b621061417
commit 6d0f3cad14
3 files changed
+12 -7

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ window.runCode = function(hook) {
.filter(function(item) {
return item.innerHTML === 'Run Code';
})
.forEach(item => {
.forEach(function(item) {
item.addEventListener('click', function(event) {
event.preventDefault();
var codeElement = item.parentElement.nextElementSibling;