css: improve gritter

- rename DOM wrapper because is was blacklisted by some ad blocker
- make the template and the lib to add gritter more simple (remove unused
  option, make template simpler)
- add style for gritter error message
This commit is contained in:
Sebastian Castro 2020-03-31 18:16:04 +02:00 committed by muxator
parent c0d9797d0f
commit a482a94fb8
5 changed files with 60 additions and 181 deletions

View file

@ -32,7 +32,7 @@ var chat = (function()
{
$("#chaticon").hide();
$("#chatbox").css('display', 'flex');
$("#gritter-notice-wrapper").hide();
$("#gritter-container").hide();
self.scrollDown();
chatMentions = 0;
Tinycon.setBubble(0);
@ -81,7 +81,7 @@ var chat = (function()
$("#chaticon").show();
$("#chatbox").hide();
$.gritter.removeAll();
$("#gritter-notice-wrapper").show();
$("#gritter-container").show();
}
},
scrollDown: function()