diff --git a/src/ngTouch/directive/ngClick.js b/src/ngTouch/directive/ngClick.js index f352c252f443..58b3c3ef5b27 100644 --- a/src/ngTouch/directive/ngClick.js +++ b/src/ngTouch/directive/ngClick.js @@ -255,7 +255,7 @@ ngTouch.directive('ngClick', ['$parse', '$timeout', '$rootElement', // Blur the focused element (the button, probably) before firing the callback. // This doesn't work perfectly on Android Chrome, but seems to work elsewhere. // I couldn't get anything to work reliably on Android Chrome. - if (tapElement) { + if (tapElement && angular.isFunction(tapElement.blur)) { tapElement.blur(); }