Unverified Commit b6e9ca1d authored by yann300's avatar yann300 Committed by GitHub

Don't wait for the toaster to hide for continuing

parent 65a30f3a
...@@ -154,7 +154,7 @@ class FileManager extends Plugin { ...@@ -154,7 +154,7 @@ class FileManager extends Plugin {
if (canCall) { if (canCall) {
this._setFileInternal(path, content) this._setFileInternal(path, content)
// inform the user about modification after permission is granted and even if permission was saved before // inform the user about modification after permission is granted and even if permission was saved before
await toaster(yo` toaster(yo`
<div> <div>
<i class="fas fa-exclamation-triangle text-danger mr-1"></i> <i class="fas fa-exclamation-triangle text-danger mr-1"></i>
<span> <span>
...@@ -164,7 +164,7 @@ class FileManager extends Plugin { ...@@ -164,7 +164,7 @@ class FileManager extends Plugin {
</span>${path} </span>${path}
</span> </span>
</div> </div>
`, '', { time: 5000 }) `, '', { time: 3000 })
} }
} }
this._setFileInternal(path, content) this._setFileInternal(path, content)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment