Skip to content

Commit

Permalink
Merge pull request #171 from loic425/fix/app-js
Browse files Browse the repository at this point in the history
fix app js errors
  • Loading branch information
loic425 committed Apr 15, 2019
2 parents ef8c511 + 985db0c commit 05f4394
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion assets/frontend/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import 'sylius/ui/sylius-auto-complete';
$(document).ready(function () {
$('.sylius-autocomplete').autoComplete();
});
})(jQuery);
});

window.$ = $;
window.jQuery = $;
1 change: 0 additions & 1 deletion templates/frontend/layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
</div>

{% block javascripts %}
<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/frontend/js/app.js') }}"></script>
{% endblock %}
{% include '@SyliusUi/Modal/_confirmation.html.twig' %}
Expand Down

0 comments on commit 05f4394

Please sign in to comment.