# HG changeset patch # User Nicholas Jillings # Date 1463736821 -3600 # Node ID 1e7d98ca83beffd9b87fa58eaa34a8d9ca431f21 # Parent 737e3f18e32bea8f4be4bd3dbaf6f1a74eb04421 More minor fixes for #90. APE works for Edge diff -r 737e3f18e32b -r 1e7d98ca83be js/core.js --- a/js/core.js Fri May 20 10:15:07 2016 +0100 +++ b/js/core.js Fri May 20 10:33:41 2016 +0100 @@ -679,7 +679,7 @@ this.postNode = function() { // This will take the node from the popupOptions and display it var node = this.popupOptions[this.currentIndex]; - this.popupResponse.innerHTML = null; + this.popupResponse.innerHTML = ""; this.popupTitle.textContent = node.specification.statement; if (node.specification.type == 'question') { var textArea = document.createElement('textarea'); diff -r 737e3f18e32b -r 1e7d98ca83be js/specification.js --- a/js/specification.js Fri May 20 10:15:07 2016 +0100 +++ b/js/specification.js Fri May 20 10:33:41 2016 +0100 @@ -248,9 +248,8 @@ this.type = 'statement'; } else { this.options = []; - for (var i in children) + for (var i=0; i