1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-27 21:18:30 +00:00

Fix FFZ's noty-fications not having a visible close button. Fix inverted dev badge.

This commit is contained in:
SirStendec 2016-04-19 15:16:37 -04:00
parent d6b1b215d9
commit 4086a2e9fd
3 changed files with 10 additions and 9 deletions

View file

@ -1,5 +1,6 @@
var FFZ = window.FrankerFaceZ,
utils = require("../utils");
utils = require("../utils"),
constants = require("../constants");
// ---------------------
@ -193,6 +194,7 @@ FFZ.prototype.show_message = function(message) {
window.noty({
text: message,
template: '<div class="noty_message"><span class="noty_text"></span><div class="noty_close">' + constants.CLOSE + '</div></div>',
theme: "ffzTheme",
layout: "bottomCenter",
closeWith: ["button"]