Archived
1
0

fix css for firefox

This commit is contained in:
Jeff Becker 2016-07-05 12:28:37 -04:00
parent 00d0be952f
commit 5ec4c823fe
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
2 changed files with 10 additions and 3 deletions

View File

@ -747,9 +747,14 @@ ConvoBar.prototype.show = function(msgid) {
break;
}
}
var rules = null;
// delete all filtering rules
while ( sheet.rules.length > 0 ) {
if (sheet.rules) {
rules = sheet.rules;
} else {
rules = sheet.cssRules;
}
while (rules.length > 0 ) {
if (sheet.deleteRule) {
sheet.deleteRule(0);
} else if (sheet.removeRule) {
@ -758,6 +763,7 @@ ConvoBar.prototype.show = function(msgid) {
break;
}
}
if (msgid === self.active) {
// this is resetting the view
if (sheet.insertRule) { // firefox

View File

@ -193,6 +193,7 @@ input, textarea, select {
.livechan_chat_input {
background: #98E;
padding: 10px;
}
.livechan_greentext {