Skip to content

Commit

Permalink
Remove const assignment on function
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevallano committed Dec 24, 2019
1 parent 21c0772 commit d8d133c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/z.js
Expand Up @@ -42,7 +42,7 @@ $(document)
}
});

const handleAddToListAutocompleteSelect = function(event, ui) {
function handleAddToListAutocompleteSelect(event, ui) {
$("#list_autocomplete_val").val(ui.item.id);
$('form#new_listing').submit();
}
Expand Down

0 comments on commit d8d133c

Please sign in to comment.