Trying more checks and stuff
This commit is contained in:
parent
4083042f49
commit
fbad973e99
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@
|
||||||
// before setDraggedTask.
|
// before setDraggedTask.
|
||||||
// Once taskDragged is not empty, we run the actual code and cancel the timeout loop.
|
// Once taskDragged is not empty, we run the actual code and cancel the timeout loop.
|
||||||
// This is pretty ugly...
|
// This is pretty ugly...
|
||||||
if(this.taskDragged === null || typeof this.taskDragged === 'undefined') {
|
if(this.taskDragged === null || typeof this.taskDragged === 'undefined' || typeof this.taskDragged (undefined)) {
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
console.log('fckin js')
|
console.log('fckin js')
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue