Skip to content

Commit 9ba9ae2

Browse files
authored
handle possible rejection on timeout to avoid angularjs error message about possibly unhandled rejection
1 parent 38dc73e commit 9ba9ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/edit/src/js/gridEdit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@
559559

560560
// Undbind the touchend handler, we don't need it anymore
561561
$elm.off('touchend', touchEnd);
562-
});
562+
}).catch(angular.noop);;
563563
}
564564

565565
// Cancel any touchstart timeout

0 commit comments

Comments
 (0)