frontend: fix crazy events

This commit is contained in:
nemunaire 2018-01-23 02:26:55 +01:00
parent 3c8f9e55b6
commit 1b6587de24
2 changed files with 32 additions and 31 deletions

View file

@ -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 {