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') {