From 61d072f026c05d48bca84e3e0efc6ed1ad1d7e7b Mon Sep 17 00:00:00 2001 From: "R. Aidan Campbell" Date: Sun, 21 Feb 2016 17:03:49 -0500 Subject: [PATCH] Fixed issue caused by javascript refactoring. this closes #13 --- static/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/index.js b/static/js/index.js index 79f8fba..01c7944 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -121,7 +121,7 @@ function handleMessage(msg) { if (hostSelect.options[i].value == target) return; } - var opt = $('#option')[0]; + var opt = document.createElement('option'); opt.appendChild(document.createTextNode(target)); opt.value = target; $('#selectHost')[0].appendChild(opt);