remove auto-focus directive. Replaced by show-focus

This commit is contained in:
Gustavo Maximiliano Cortez 2014-12-04 20:40:33 -03:00
parent e111f630e8
commit 2af28f0f1d
1 changed files with 0 additions and 10 deletions

View File

@ -280,16 +280,6 @@ angular.module('copayApp.directives')
}
}
])
.directive('autoFocus', function($timeout) {
return {
restrict: 'AC',
link: function(_scope, _element) {
$timeout(function() {
_element[0].focus();
});
}
};
})
.directive('showFocus', function($timeout) {
return function(scope, element, attrs) {
scope.$watch(attrs.showFocus,