Merge pull request #2764 from ethereum/yann300-patch-8

Don't wait for the toaster to hide for continuing
pull/1/head
yann300 5 years ago committed by GitHub
commit 958ecca32a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/app/files/fileManager.js

@ -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 {
</span>${path} </span>${path}
</span> </span>
</div> </div>
`, '', { time: 5000 }) `, '', { time: 3000 })
} }
} }
this._setFileInternal(path, content) this._setFileInternal(path, content)

Loading…
Cancel
Save