diff --git a/html/config.html b/html/config.html
index 024b8f8e..4fb5d37b 100644
--- a/html/config.html
+++ b/html/config.html
@@ -4,6 +4,7 @@
+
diff --git a/lib/client/config.js b/lib/client/config.js
index f18899ff..2f6ee94e 100644
--- a/lib/client/config.js
+++ b/lib/client/config.js
@@ -105,6 +105,10 @@ var CloudCmd, Util, DOM, io;
CONFIG = config;
obj = Util.copyObj(CONFIG);
changeConfig(obj);
+
+ obj[obj.editor + '-selected'] = 'selected';
+ delete obj.editor;
+
data = Util.render(Template, obj);
div = DOM.load({
name : 'div',
@@ -117,7 +121,7 @@ var CloudCmd, Util, DOM, io;
Element = div;
- inputs = DOM.getByTag(INPUT, div);
+ inputs = document.querySelectorAll('input, select', div);
inputFirst = inputs[0];
if (inputFirst) {