Skip to content

Commit

Permalink
This is fixed in angular 1.3.6 (using 1.5.2 atm) angular/angular.js#2614
Browse files Browse the repository at this point in the history
  • Loading branch information
vartija committed Mar 24, 2016
1 parent 5490fe3 commit 80a3ca8
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions organisaatio-ui/src/main/webapp/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,21 +91,6 @@ app.config(function($routeProvider, $httpProvider) {
otherwise({redirectTo:'/organisaatiot'});
});

// https://github.com/angular/angular.js/issues/2614
app.config(['$provide', function($provide) {
$provide.decorator('$sniffer', ['$delegate', function($sniffer) {
var msie = parseInt((/msie (\d+)/.exec(angular.lowercase(navigator.userAgent)) || [])[1], 10);
var _hasEvent = $sniffer.hasEvent;
$sniffer.hasEvent = function(event) {
if (event === 'input' && msie === 10) {
return false;
}
_hasEvent.call(this, event);
};
return $sniffer;
}]);
}]);

// Konfiguroidaan DatePicker alkamaan viikon maanantaista (defaul = sunnuntai)
app.config(function(uibDatepickerConfig) {
uibDatepickerConfig.startingDay = 1;
Expand Down

0 comments on commit 80a3ca8

Please sign in to comment.