Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
Removed whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Sep 16, 2015
1 parent 1fe9976 commit 4e159f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ngTouch/directive/ngClick.js
Expand Up @@ -161,11 +161,11 @@ ngTouch.directive('ngClick', ['$parse', '$timeout', '$rootElement',
// If we didn't find an allowable region, bust the click.
event.stopPropagation();
event.preventDefault();

// Check if the target node is not of the type input.
// All targets should be blurred except input to prevent the keyboard from
// bouncing in and out and sometimes not showing.
if(nodeName !== 'input') {
if (nodeName !== 'input') {
// Blur focused form elements
event.target && event.target.blur && event.target.blur();
}
Expand Down

0 comments on commit 4e159f3

Please sign in to comment.