Skip to content

Commit 918dca4

Browse files
committed
Fixes issue with data retention after clearing field
1 parent 3628b4c commit 918dca4

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"sass"
99
],
1010
"homepage": "https://github.com/deviscoding/custom-time",
11-
"version": "1.1",
11+
"version": "1.1.1",
1212
"authors": [
1313
{
1414
"name": "AMJones",

dist/css/custom-time.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* CustomTime v1.1 (https://github.com/deviscoding/custom-time) with Icons from Open Iconic (https://useiconic.com/open)
2+
* CustomTime v1.1.1 (https://github.com/deviscoding/custom-time) with Icons from Open Iconic (https://useiconic.com/open)
33
* @author AMJones [am@jonesiscoding.com]
44
* @licence MIT (https://github.com/deviscoding/custom-time/blob/master/LICENSE)
55
*/

dist/css/custom-time.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/custom-time.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* CustomTime v1.0.3 (https://github.com/deviscoding/custom-time)
2+
* CustomTime v1.1.1 (https://github.com/deviscoding/custom-time)
33
* @author AMJones [am@jonesiscoding.com]
44
* @licence MIT (https://github.com/deviscoding/custom-time/blob/master/LICENSE)
55
*/
@@ -82,6 +82,9 @@
8282

8383
ct.value = _faux.join(':');
8484
ct.$input.val( ct.value );
85+
} else {
86+
ct.value = '';
87+
ct.$input.val( '' );
8588
}
8689
}
8790
};

dist/js/custom-time.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/custom-time.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* CustomTime v1.0.3 (https://github.com/deviscoding/custom-time)
2+
* CustomTime v1.1.1 (https://github.com/deviscoding/custom-time)
33
* @author AMJones [am@jonesiscoding.com]
44
* @licence MIT (https://github.com/deviscoding/custom-time/blob/master/LICENSE)
55
*/
@@ -82,6 +82,9 @@
8282

8383
ct.value = _faux.join(':');
8484
ct.$input.val( ct.value );
85+
} else {
86+
ct.value = '';
87+
ct.$input.val( '' );
8588
}
8689
}
8790
};

scss/_custom-time.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@if(variable_exists(use-framework)) {
44
@if not($use-framework) {
55
/**
6-
* CustomTime v1.0.3 (https://github.com/deviscoding/custom-time) with Icons from Open Iconic (https://useiconic.com/open)
6+
* CustomTime v1.1.1 (https://github.com/deviscoding/custom-time) with Icons from Open Iconic (https://useiconic.com/open)
77
* @author AMJones [am@jonesiscoding.com]
88
* @licence MIT (https://github.com/deviscoding/custom-time/blob/master/LICENSE)
99
*/

0 commit comments

Comments
 (0)