Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug

  • Loading branch information...
commit b8ee217ed963936611cb2140fca65d6055f24efd 1 parent d2611a7
@ahmontero authored
Showing with 8 additions and 1 deletion.
  1. +1 −0  demo/demo.html
  2. +7 −1 src/bootstrap.calendar.js
View
1  demo/demo.html
@@ -38,6 +38,7 @@
,{"date":"2012-10-21","title":"10"}
,{"date":"2012-11-21","title":"10"}
,{"date":"2012-12-21","title":"10"}
+ ,{"date":"2012-05-03","title":"1500"}
]
}
};
View
8 src/bootstrap.calendar.js
@@ -263,7 +263,13 @@
type: 'onEvent',
day: day,
});
- }
+ }else if(target.is('.today')){
+ var day = parseInt(target.text(), 10)||1;
+ this.element.trigger({
+ type: 'onEvent',
+ day: day,
+ });
+ }
break;
case 'th':
if (target.is('.sel')){
Please sign in to comment.
Something went wrong with that request. Please try again.