Skip to content

Commit

Permalink
Bugfix Cannot read property 'toLowerCase' of undefined error after cl…
Browse files Browse the repository at this point in the history
…icking on the scrollbar
  • Loading branch information
al5dy committed Jul 23, 2017
1 parent feacda5 commit f2d8504
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 f2d8504

Please sign in to comment.