standard fix.

pull/1/head
LianaHus 6 years ago
parent b8e4b0ef33
commit 74d2787e35
  1. 2
      src/app/files/fileManager.js
  2. 2
      src/app/ui/tooltip.js

@ -153,7 +153,7 @@ class FileManager extends FileSystemApi {
<div>
<i class="fas fa-exclamation-triangle text-danger mr-1"></i>
<span>
${this.currentRequest.from}<span class="text-warning"> is modyfing </span>${path}
${this.currentRequest.from}<span class="text-danger"> is modyfing </span>${path}
</span>
</div>`, actions, { time: 4000 })
if (reject) throw new Error(`set file operation on ${path} aborted by user.`)

@ -25,7 +25,7 @@ class Toaster {
render (tooltipText, action, opts) {
opts = defaultOptions(opts)
let canShorten = true
if (tooltipText instanceof Element) {
if (tooltipText['nodeName']) {
canShorten = false
} else {
if (typeof tooltipText === 'object') {

Loading…
Cancel
Save