commit f7f600bd2b1a07da5f1e298782b0babeba5010bb
parent 4fa30140abcb5b4ce748a341ff6c4d0042369523
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Sat, 18 Feb 2017 22:28:51 +0300
[notifications] call alert from setTimeout
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/notifications/index.js b/src/lib/notifications/index.js
@@ -1,5 +1,5 @@
 function notify(message, level) {
-    window.alert(message);
+    setTimeout(() => window.alert(message), 0);
 }
 
 function prompt(message, value) {