option to stop autoscroll
parent
beb6378656
commit
6726ea6632
|
@ -62,8 +62,11 @@ var chat = (function()
|
||||||
},
|
},
|
||||||
scrollDown: function()
|
scrollDown: function()
|
||||||
{
|
{
|
||||||
if($('#chatbox').css("display") != "none")
|
if($('#options-scrollchat').is(':checked')){
|
||||||
$('#chattext').animate({scrollTop: $('#chattext')[0].scrollHeight}, "slow");
|
if($('#chatbox').css("display") != "none"){
|
||||||
|
$('#chattext').animate({scrollTop: $('#chattext')[0].scrollHeight}, "slow");
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
send: function()
|
send: function()
|
||||||
{
|
{
|
||||||
|
|
|
@ -168,6 +168,10 @@
|
||||||
<input type="checkbox" id="options-linenoscheck" checked>
|
<input type="checkbox" id="options-linenoscheck" checked>
|
||||||
<label for="options-linenoscheck">Line numbers</label>
|
<label for="options-linenoscheck">Line numbers</label>
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
<input type="checkbox" id="options-scrollchat" checked>
|
||||||
|
<label for="options-scrollchat">Automatically Scroll Chat</label>
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Font type:
|
Font type:
|
||||||
<select id="viewfontmenu">
|
<select id="viewfontmenu">
|
||||||
|
|
Loading…
Reference in New Issue