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>
|
<title>Chromesoul</title>
|
||||||
<link rel="stylesheet" type="text/css" media="all" href="chromesoul.css">
|
<link rel="stylesheet" type="text/css" media="all" href="chromesoul.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body id="body-id">
|
||||||
<p id="user-status" class="clickable">
|
<p id="user-status" class="clickable">
|
||||||
<img src="img/status/me-disconnected.png" alt="disconnected" title="disconnected" id="user-status-img">
|
<img src="img/status/me-disconnected.png" alt="disconnected" title="disconnected" id="user-status-img">
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -82,6 +82,12 @@ OptionsManager.prototype.init = function() {
|
||||||
};
|
};
|
||||||
})(this));
|
})(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) {
|
OptionsManager.prototype.savePart = function(pass) {
|
||||||
|
|
|
@ -22,7 +22,6 @@ var Tab = function(name) {
|
||||||
this.buff_len = 1000;
|
this.buff_len = 1000;
|
||||||
this.history_index = 0;
|
this.history_index = 0;
|
||||||
this.history = [];
|
this.history = [];
|
||||||
$cs.opts.restore();
|
|
||||||
this.initListElement();
|
this.initListElement();
|
||||||
this.initBodyElement();
|
this.initBodyElement();
|
||||||
};
|
};
|
||||||
|
@ -132,7 +131,6 @@ Tab.prototype.hide = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
Tab.prototype.show = function() {
|
Tab.prototype.show = function() {
|
||||||
//this.options.restore();
|
|
||||||
if (typeof this.showHandler !== "undefined") {
|
if (typeof this.showHandler !== "undefined") {
|
||||||
this.showHandler();
|
this.showHandler();
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue