comparison js/core.js @ 2379:1e7d98ca83be

More minor fixes for #90. APE works for Edge
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Fri, 20 May 2016 10:33:41 +0100
parents c41caaa96633
children 2ddc68898dff
comparison
equal deleted inserted replaced
2378:737e3f18e32b 2379:1e7d98ca83be
677 }; 677 };
678 678
679 this.postNode = function() { 679 this.postNode = function() {
680 // This will take the node from the popupOptions and display it 680 // This will take the node from the popupOptions and display it
681 var node = this.popupOptions[this.currentIndex]; 681 var node = this.popupOptions[this.currentIndex];
682 this.popupResponse.innerHTML = null; 682 this.popupResponse.innerHTML = "";
683 this.popupTitle.textContent = node.specification.statement; 683 this.popupTitle.textContent = node.specification.statement;
684 if (node.specification.type == 'question') { 684 if (node.specification.type == 'question') {
685 var textArea = document.createElement('textarea'); 685 var textArea = document.createElement('textarea');
686 switch (node.specification.boxsize) { 686 switch (node.specification.boxsize) {
687 case 'small': 687 case 'small':