Skip to content

Commit 8f6cf74

Browse files
committed
also check parent element when checking against inputTags
1 parent d778122 commit 8f6cf74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/angular-gridster.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,8 @@
15101510
}
15111511

15121512
function mouseDown(e) {
1513-
if (inputTags.indexOf(e.target.nodeName.toLowerCase()) !== -1) {
1513+
if (inputTags.indexOf(e.target.nodeName.toLowerCase()) !== -1 ||
1514+
inputTags.indexOf(e.target.parentNode.nodeName.toLowerCase()) !== -1) {
15141515
return false;
15151516
}
15161517

0 commit comments

Comments
 (0)