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

View File

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