Skip to content

Commit

Permalink
Merge pull request #2764 from ethereum/yann300-patch-8
Browse files Browse the repository at this point in the history
Don't wait for the toaster to hide for continuing
  • Loading branch information
yann300 authored Apr 22, 2020
2 parents 65a30f3 + b6e9ca1 commit 958ecca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/files/fileManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
<div>
<i class="fas fa-exclamation-triangle text-danger mr-1"></i>
<span>
Expand All @@ -164,7 +164,7 @@ class FileManager extends Plugin {
</span>${path}
</span>
</div>
`, '', { time: 5000 })
`, '', { time: 3000 })
}
}
this._setFileInternal(path, content)
Expand Down

0 comments on commit 958ecca

Please sign in to comment.