This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/js/directives/ng-blur.js

8 lines
184 B
JavaScript
Raw Normal View History

2019-11-12 16:09:47 +00:00
angular.module('quay').directive('ngBlur', function() {
return function( scope, elem, attrs ) {
elem.bind('blur', function() {
scope.$apply(attrs.ngBlur);
});
};
});