Skip to content

Commit

Permalink
Merge pull request #43 from al5dy/bugfix
Browse files Browse the repository at this point in the history
'toLowerCase' of undefined error
  • Loading branch information
stephband authored Jun 24, 2020
2 parents feacda5 + f2d8504 commit cf56364
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/jquery.event.move.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,11 @@
}

function isIgnoreTag(e) {
return !!ignoreTags[e.target.tagName.toLowerCase()];
var result = false;
if(!!e.target.tagName) {
result = !!ignoreTags[e.target.tagName.toLowerCase()];
};
return result;
}

function isPrimaryButton(e) {
Expand Down

0 comments on commit cf56364

Please sign in to comment.