From 74d2787e35ba5b2cc1788cb22c06e1c652bc5012 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Tue, 28 May 2019 14:34:30 +0200 Subject: [PATCH] standard fix. --- src/app/files/fileManager.js | 2 +- src/app/ui/tooltip.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/files/fileManager.js b/src/app/files/fileManager.js index 2a9ad8e177..8dbc19cbe3 100644 --- a/src/app/files/fileManager.js +++ b/src/app/files/fileManager.js @@ -153,7 +153,7 @@ class FileManager extends FileSystemApi {
- ${this.currentRequest.from} is modyfing ${path} + ${this.currentRequest.from} is modyfing ${path}
`, actions, { time: 4000 }) if (reject) throw new Error(`set file operation on ${path} aborted by user.`) diff --git a/src/app/ui/tooltip.js b/src/app/ui/tooltip.js index 4fde6d5f72..104ab5e8a0 100644 --- a/src/app/ui/tooltip.js +++ b/src/app/ui/tooltip.js @@ -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') {