Fix screenReadeMode disable in demo

This commit is contained in:
Daniel Imms
2018-01-23 09:49:43 -08:00
parent 421a885acd
commit c2d78e57d0
+1 -1
View File
@@ -85,7 +85,7 @@ optionElements.tabstopwidth.addEventListener('change', function () {
term.setOption('tabStopWidth', parseInt(optionElements.tabstopwidth.value, 10));
});
optionElements.screenReaderMode.addEventListener('change', function () {
term.setOption('screenReaderMode', optionElements.screenReaderMode.value);
term.setOption('screenReaderMode', optionElements.screenReaderMode.checked);
});
navigationModeElement.addEventListener('click', function () {
if (term.getOption('screenReaderMode')) {