From 2af28f0f1dde8513ecf676296170df48092642e0 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 4 Dec 2014 20:40:33 -0300 Subject: [PATCH] remove auto-focus directive. Replaced by show-focus --- js/directives.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/js/directives.js b/js/directives.js index 993357694..ca4f76b2d 100644 --- a/js/directives.js +++ b/js/directives.js @@ -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,