Skip to content

Commit

Permalink
increase awayTolerance to 500
Browse files Browse the repository at this point in the history
  • Loading branch information
vickramravichandran authored and vickramravichandran committed Oct 15, 2016
1 parent 40308f6 commit d9a63a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion angular-datepicker-light.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
// hide the active calendar if user clicks anywhere away from the dropdown list
var offset = ctrl.container[0].getBoundingClientRect();
var isMouseAwayFromActiveContainer = false;
var awayTolerance = 50;
var awayTolerance = 500;

//check if mouse is over the container
if (e.pageX < offset.left - awayTolerance
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-datepicker-light",
"version": "1.1.0",
"version": "1.1.1",
"description": "AngularJS datepicker plugin",
"main": "angular-datepicker-light.js",
"homepage": "http://www.vickram.me/angular-datepicker-light-plugin/",
Expand Down

0 comments on commit d9a63a3

Please sign in to comment.