Fixed JSAssetsHelper typos.
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
This commit is contained in:
parent
a9f3811299
commit
9db5619180
@ -25,7 +25,7 @@ function favouriteOn()
|
||||
url: url
|
||||
}).done(function() {
|
||||
elem.find('img').attr('alt', '[Kedvenc]');
|
||||
elem.find('img').attr('src', AssetsHelper.getURL('bundles/kekrozsakfront/images/penta-yellow-24.png'));
|
||||
elem.find('img').attr('src', AssetsHelper.getUrl('bundles/kekrozsakfront/images/penta-yellow-24.png'));
|
||||
elem.removeClass('favourite-topic-button');
|
||||
elem.addClass('unfavourite-topic-button');
|
||||
elem.attr('id', 'unfavourite-topic-button-' + topicSlug);
|
||||
|
@ -17,7 +17,7 @@
|
||||
<script type="text/javascript" src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ path('fos_js_routing_js', {callback: 'fos.Router.setData'}) }}"></script>
|
||||
<script type="text/javascript" src="{{ asset('js/jquery-form/jquery.form.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ asset('bundles/jmikolajsassetshelper/js/asset_helper.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ asset('bundles/jmikolajsassetshelper/js/assets_helper.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ path('jmikola_js_assets_helper_js') }}"></script>
|
||||
{% javascripts 'bundles/kekrozsakfront/js/*' output='js/kekrozsak.js' %}
|
||||
<script type="text/javascript" src="{{ asset_url }}"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user