assets/js/romo/datepicker.js in romo-0.14.0 vs assets/js/romo/datepicker.js in romo-0.14.1
- old
+ new
@@ -48,10 +48,10 @@
// delay adding it b/c the `append` statement above is not a "move", it is
// a "remove" and "add" so if added immediately the "remove" part will
// incorrectly remove the wrapper. Any value will do - I chose 100 arbitrarily.
setTimeout($.proxy(function() {
Romo.parentChildElems.add(this.elem, [elemWrapper]);
- }, this), 100);
+ }, this), 1);
this.elem.attr('autocomplete', 'off');
this.indicatorElem = $();
var indicatorClass = this.elem.data('romo-datepicker-indicator') || this.defaultIndicatorClass;