From 44f5916cd44a369ffd519e23ba0be7115b08a8a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 13 Oct 2017 11:51:22 +0200 Subject: [PATCH] Faster animation speed & close on PNotify --- src/octoprint/static/js/app/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/octoprint/static/js/app/main.js b/src/octoprint/static/js/app/main.js index be684ab6..f7541d56 100644 --- a/src/octoprint/static/js/app/main.js +++ b/src/octoprint/static/js/app/main.js @@ -191,6 +191,8 @@ $(function() { PNotify.prototype.options.stack.firstpos2 = 20; PNotify.prototype.options.stack.spacing1 = 20; PNotify.prototype.options.stack.spacing2 = 20; + PNotify.prototype.options.delay = 5000; + PNotify.prototype.options.animate_speed = "fast"; PNotify.singleButtonNotify = function(options) { if (!options.confirm || !options.confirm.buttons || !options.confirm.buttons.length) {