mirror of
https://github.com/jech/galene.git
synced 2024-11-22 00:25:58 +01:00
Toastify style moved to galene.css, galene.js corrected
This commit is contained in:
parent
4aa52e16e2
commit
df592994e0
1 changed files with 0 additions and 3 deletions
|
@ -3959,18 +3959,15 @@ document.getElementById('resizer').addEventListener('mousedown', chatResizer, fa
|
|||
function displayError(message, level) {
|
||||
if(!level)
|
||||
level = "error";
|
||||
var background = 'linear-gradient(to right, #e20a0a, #df2d2d)';
|
||||
var position = 'center';
|
||||
var gravity = 'top';
|
||||
|
||||
switch(level) {
|
||||
case "info":
|
||||
background = 'linear-gradient(to right, #529518, #96c93d)';
|
||||
position = 'right';
|
||||
gravity = 'bottom';
|
||||
break;
|
||||
case "warning":
|
||||
background = "linear-gradient(to right, #bdc511, #c2cf01)";
|
||||
break;
|
||||
case "kicked":
|
||||
level = "error";
|
||||
|
|
Loading…
Reference in a new issue