Skip to content

Commit 1b35239

Browse files
Michał Siatkowskiatais
Michał Siatkowski
authored andcommitted
clear button works again
1 parent a3ddd54 commit 1b35239

5 files changed

+4
-6
lines changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* A wrapper directive around the [bootstrap-datetimepicker component](http://eonasdan.github.io/bootstrap-datetimepicker/).
44
* It is a continuation of [angular-bootstrap-datetimepicker-directive](https://github.com/diosney/angular-bootstrap-datetimepicker-directive).
55

6-
**Every version brings some breaking changes so please read the manual carefully.**
7-
86
Having problems using the wrapper? <br>
97
Please, post an issue on GitHub and **provide a plunker** with your question.
108

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-eonasdan-datetimepicker",
3-
"version": "0.3.5",
3+
"version": "0.3.6",
44
"authors": [
55
"Atais <atais.jr@gmail.com>"
66
],

dist/angular-eonasdan-datetimepicker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
dpElement.on('dp.change', function (e) {
3636
$timeout(function () {
37-
if (!!e.date) {
37+
if (e.date !== 'undefined') {
3838
$scope.$apply(function () {
3939
ngModel.$setViewValue(e.date);
4040
});

dist/angular-eonasdan-datetimepicker.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-eonasdan-datetimepicker",
3-
"version": "0.3.5",
3+
"version": "0.3.6",
44
"author": {
55
"name": "Michał Siatkowski",
66
"email": "atais.jr@gmail.com"

0 commit comments

Comments
 (0)