remove auto-focus directive. Replaced by show-focus
This commit is contained in:
parent
e111f630e8
commit
2af28f0f1d
1 changed files with 0 additions and 10 deletions
|
|
@ -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) {
|
.directive('showFocus', function($timeout) {
|
||||||
return function(scope, element, attrs) {
|
return function(scope, element, attrs) {
|
||||||
scope.$watch(attrs.showFocus,
|
scope.$watch(attrs.showFocus,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue