From 03d34076d8ff4eff94be36b495ad01b5706e2543 Mon Sep 17 00:00:00 2001 From: Richard Wei <54336863+WaysonWei@users.noreply.github.com> Date: Mon, 27 Sep 2021 10:09:23 +1300 Subject: [PATCH] fix error message not last long enough for user to copy error (#5642) --- app/config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/config.js b/app/config.js index 5e74a916d..0ff080aaf 100644 --- a/app/config.js +++ b/app/config.js @@ -51,7 +51,12 @@ angular.module('portainer').config([ }, ]); - toastr.options.timeOut = 3000; + toastr.options = { + timeOut: 3000, + closeButton: true, + progressBar: true, + tapToDismiss: false, + } Terminal.applyAddon(fit);