Minor bugfix

This commit is contained in:
Mattias Erming 2014-03-19 01:52:09 +01:00
parent db4e62b693
commit 923dbcbeeb
3 changed files with 11 additions and 12 deletions

View File

@ -3,7 +3,6 @@ body {
font: 12px Consolas, monospace;
height: 100%;
}
a:focus {
outline: 0;
}
@ -162,9 +161,8 @@ h2 {
width: 160px;
}
#chat .users .user {
clear: both;
display: block;
color: #f00;
float: left;
padding: 0 8px;
}
#chat .messages {
@ -220,8 +218,9 @@ h2 {
}
#chat .toggle {
background: #f00;
display: inherit;
display: block;
font-size: 14px;
position: relative;
}
#chat .toggle a {
color: #000;
@ -230,7 +229,6 @@ h2 {
width: 46px;
position: absolute;
text-align: center;
z-index: 9999;
}
#chat .toggle .left {
border-left: 0;
@ -249,6 +247,7 @@ h2 {
display: inherit;
}
#chat .title {
padding: 0;
text-align: center;
}
#chat .title .btn {

View File

@ -80,11 +80,11 @@
<script type="text/html" id="window">
{{#channels}}
<div class="window {{type}}" data-id="{{id}}">
<div class="toggle">
<a href="#" class="left"><i class="fa fa-toggle-right"></i></a>
<a href="#" class="right"><i class="fa fa-toggle-left"></i></a>
</div>
<div class="title">
<div class="toggle">
<a href="#" class="left"><i class="fa fa-toggle-right"></i></a>
<a href="#" class="right"><i class="fa fa-toggle-left"></i></a>
</div>
<h1>{{name}}</h1>
<button class="close btn btn-danger btn-sm ">Leave</button>
</div>

View File

@ -202,9 +202,9 @@ $(function() {
$.fn.bringToTop = function() {
return this.css('z-index', highest++)
.addClass("active")
//.find(".input")
//.focus()
//.end()
.find(".input")
.focus()
.end()
.siblings()
.removeClass("active")
.end();