Skip to content

Commit

Permalink
fixed Card.prototype.handleInitialPlaceholders
Browse files Browse the repository at this point in the history
  • Loading branch information
Masatsugu Oomiya committed May 30, 2017
1 parent e1d4ebe commit d3cf0ab
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions dist/jquery.card.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,18 @@ var card =
for (name in ref) {
selector = ref[name];
el = this["$" + name];
if (el instanceof NodeList) {
el = el[0];
}
if (QJ.val(el)) {
QJ.trigger(el, 'paste');
results.push(setTimeout(function() {
return QJ.trigger(el, 'keyup');
}));
results.push(
(function(el) {
setTimeout(function() {
return QJ.trigger(el, 'keyup');
})
})(el)
);
} else {
results.push(void 0);
}
Expand Down

0 comments on commit d3cf0ab

Please sign in to comment.