font size enabled, closing issue #4
This commit is contained in:
parent
77d0a58646
commit
c0460496dd
3 changed files with 7 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
<title>Chromesoul</title>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="chromesoul.css">
|
||||
</head>
|
||||
<body>
|
||||
<body id="body-id">
|
||||
<p id="user-status" class="clickable">
|
||||
<img src="img/status/me-disconnected.png" alt="disconnected" title="disconnected" id="user-status-img">
|
||||
</p>
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Reference in a new issue