mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 06:31:44 +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) {
|
||||
var _input = $(input);
|
||||
var _name = _input.attr('name');
|
||||
_input.attr('name', _name.replace(/\[0\]/, `[${_date}]`));
|
||||
_input.attr('name', _name.replace(/\[0\]/, '['+_date+']'));
|
||||
_input.val('');
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue