Bugfixes
This commit is contained in:
parent
ebabd789ed
commit
2c34d129d8
|
@ -116,6 +116,7 @@ button::-moz-focus-inner {
|
||||||
transition: all .25s;
|
transition: all .25s;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
#menu .opt.active,
|
||||||
#menu .opt:hover {
|
#menu .opt:hover {
|
||||||
background: #e1e4e7;
|
background: #e1e4e7;
|
||||||
color: #34495e;
|
color: #34495e;
|
||||||
|
@ -164,7 +165,7 @@ button::-moz-focus-inner {
|
||||||
padding: 0 6px;
|
padding: 0 6px;
|
||||||
}
|
}
|
||||||
#networks .badge.highlight {
|
#networks .badge.highlight {
|
||||||
background: #f8f5f5;
|
background: #f8e2e2;
|
||||||
color: #e74c3c;
|
color: #e74c3c;
|
||||||
}
|
}
|
||||||
#networks .badge:empty {
|
#networks .badge:empty {
|
||||||
|
|
|
@ -140,7 +140,7 @@ $(function() {
|
||||||
|
|
||||||
chat.on("append", ".messages", function() {
|
chat.on("append", ".messages", function() {
|
||||||
var messages = $(this);
|
var messages = $(this);
|
||||||
var id = messages.closest(".window").find(".input").parent().data("target");
|
var id = messages.closest(".window").find(".form").data("target");
|
||||||
var badge = $("#channel-" + id + ":not(.active) .badge");
|
var badge = $("#channel-" + id + ":not(.active) .badge");
|
||||||
if (badge.length != 0) {
|
if (badge.length != 0) {
|
||||||
var i = (parseInt(badge.html()) || 0) + 1;
|
var i = (parseInt(badge.html()) || 0) + 1;
|
||||||
|
@ -159,7 +159,7 @@ $(function() {
|
||||||
|
|
||||||
chat.on("click", ".user", function() {
|
chat.on("click", ".user", function() {
|
||||||
var user = $(this);
|
var user = $(this);
|
||||||
var id = user.closest(".window").find(".input").parent().data("target");
|
var id = user.closest(".window").find(".form").data("target");
|
||||||
var name = user.html().replace(/[\s+@]/g, "");
|
var name = user.html().replace(/[\s+@]/g, "");
|
||||||
if (name.match(/[#.]|-!-/) != null) {
|
if (name.match(/[#.]|-!-/) != null) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue