diff --git a/chromesoul.html b/chromesoul.html
index a5624b9..6dff6f7 100644
--- a/chromesoul.html
+++ b/chromesoul.html
@@ -5,7 +5,7 @@
Chromesoul
-
+
diff --git a/lib/options.js b/lib/options.js
index 1c0d2c1..39c516c 100644
--- a/lib/options.js
+++ b/lib/options.js
@@ -82,6 +82,12 @@ OptionsManager.prototype.init = function() {
};
})(this));
}
+
+ var chat_size = document.getElementById("chat-size");
+ chat_size.addEventListener("change", function() {
+ var body = document.getElementById("body-id");
+ body.style.fontSize = chat_size.value + "px";
+ }, false);
};
OptionsManager.prototype.savePart = function(pass) {
diff --git a/lib/tab.nsui.js b/lib/tab.nsui.js
index c2c04fe..c313140 100644
--- a/lib/tab.nsui.js
+++ b/lib/tab.nsui.js
@@ -22,7 +22,6 @@ var Tab = function(name) {
this.buff_len = 1000;
this.history_index = 0;
this.history = [];
- $cs.opts.restore();
this.initListElement();
this.initBodyElement();
};
@@ -132,7 +131,6 @@ Tab.prototype.hide = function() {
};
Tab.prototype.show = function() {
- //this.options.restore();
if (typeof this.showHandler !== "undefined") {
this.showHandler();
}