From b6e9ca1dff57b38dc26be56fdedd49e9d91e41e4 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 22 Apr 2020 14:07:55 +0200 Subject: [PATCH] Don't wait for the toaster to hide for continuing --- src/app/files/fileManager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/files/fileManager.js b/src/app/files/fileManager.js index ce3d0cee86..9c77a04b49 100644 --- a/src/app/files/fileManager.js +++ b/src/app/files/fileManager.js @@ -154,7 +154,7 @@ class FileManager extends Plugin { if (canCall) { this._setFileInternal(path, content) // inform the user about modification after permission is granted and even if permission was saved before - await toaster(yo` + toaster(yo`
@@ -164,7 +164,7 @@ class FileManager extends Plugin { ${path}
- `, '', { time: 5000 }) + `, '', { time: 3000 }) } } this._setFileInternal(path, content)