Skip to content

Commit

Permalink
fix(tap): stop cloning date inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartington committed Jun 18, 2015
1 parent f76aedb commit d3c3e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/utils/tap.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ ionic.tap = {

ionic.requestAnimationFrame(function() {
var focusInput = container.querySelector(':focus');
if (ionic.tap.isTextInput(focusInput)) {
if (ionic.tap.isTextInput(focusInput) && !ionic.tap.isDateInput(focusInput)) {
var clonedInput = focusInput.cloneNode(true);

clonedInput.value = focusInput.value;
Expand Down

0 comments on commit d3c3e8c

Please sign in to comment.