frontend: fix crazy events
This commit is contained in:
parent
3c8f9e55b6
commit
1b6587de24
2 changed files with 32 additions and 31 deletions
|
@ -7,6 +7,12 @@ String.prototype.capitalize = function() {
|
|||
);
|
||||
}
|
||||
|
||||
Array.prototype.inArray = function(v) {
|
||||
return this.reduce(function(presence, current) {
|
||||
return presence || current == v;
|
||||
}, false);
|
||||
}
|
||||
|
||||
angular.module("FICApp")
|
||||
.directive('autofocus', ['$timeout', function($timeout) {
|
||||
return {
|
||||
|
|
Reference in a new issue