Trying more checks and stuff

This commit is contained in:
konrad 2019-06-30 12:38:09 +02:00
parent 4083042f49
commit fbad973e99
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -282,7 +282,7 @@
// before setDraggedTask.
// Once taskDragged is not empty, we run the actual code and cancel the timeout loop.
// 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
console.log('fckin js')
return