Skip to content

Commit 18b3d66

Browse files
committed
do not setting the focus model on blur automatically, fixes #38, #40
1 parent d61a22a commit 18b3d66

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/angular-advanced-searchbox.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,10 @@ angular.module('angular-advanced-searchbox', [])
316316
});
317317
}
318318
});
319-
$element.bind('blur', function() {
319+
/*$element.bind('blur', function() {
320+
console.log('nitSetFocus - blur: ' + $element[0].name);
320321
$scope.$apply(model.assign($scope, false));
321-
});
322+
});*/
322323
}
323324
};
324325
}

0 commit comments

Comments
 (0)