mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 19:03:38 +00:00
no usar ES6
This commit is contained in:
parent
cc06bcc385
commit
dd6b37bdd2
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ $(document).on('turbolinks:load', function() {
|
||||||
_group.find('[name*="[0]"]').each(function(i, input) {
|
_group.find('[name*="[0]"]').each(function(i, input) {
|
||||||
var _input = $(input);
|
var _input = $(input);
|
||||||
var _name = _input.attr('name');
|
var _name = _input.attr('name');
|
||||||
_input.attr('name', _name.replace(/\[0\]/, `[${_date}]`));
|
_input.attr('name', _name.replace(/\[0\]/, '['+_date+']'));
|
||||||
_input.val('');
|
_input.val('');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue