diff --git a/contrib/js/livechan.js b/contrib/js/livechan.js index 0b8601d..45774ad 100644 --- a/contrib/js/livechan.js +++ b/contrib/js/livechan.js @@ -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 diff --git a/contrib/static/livechan.css b/contrib/static/livechan.css index 97f58aa..c477224 100644 --- a/contrib/static/livechan.css +++ b/contrib/static/livechan.css @@ -192,7 +192,8 @@ input, textarea, select { } .livechan_chat_input { - background: #98E; + background: #98E; + padding: 10px; } .livechan_greentext {