assets/js/romo/datepicker.js in romo-0.16.2 vs assets/js/romo/datepicker.js in romo-0.17.0
- old
+ new
@@ -47,10 +47,10 @@
// the elem wrapper should be treated like a child elem. add it to Romo's
// parent-child elems so it will be removed when the elem (input) is removed.
// 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.
+ // incorrectly remove the wrapper. Any value will do - I chose 1 arbitrarily.
setTimeout($.proxy(function() {
Romo.parentChildElems.add(this.elem, [elemWrapper]);
}, this), 1);
this.elem.attr('autocomplete', 'off');