Fixed issue caused by javascript refactoring. this closes #13

This commit is contained in:
R. Aidan Campbell 2016-02-21 17:03:49 -05:00
parent 36e76ed86d
commit 61d072f026

View File

@ -121,7 +121,7 @@ function handleMessage(msg) {
if (hostSelect.options[i].value == target) return; if (hostSelect.options[i].value == target) return;
} }
var opt = $('#option')[0]; var opt = document.createElement('option');
opt.appendChild(document.createTextNode(target)); opt.appendChild(document.createTextNode(target));
opt.value = target; opt.value = target;
$('#selectHost')[0].appendChild(opt); $('#selectHost')[0].appendChild(opt);