Skip to content

Commit

Permalink
Merge pull request #70 from OpenConext/bugfix/remove-modern-js-from-t…
Browse files Browse the repository at this point in the history
…wig-templates

Remove modern js from twig templates
  • Loading branch information
MKodde authored Mar 14, 2019
2 parents f9b45dc + e2c5009 commit 34e95c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
*/
var authenticationPageService = bootstrapAuthentication(
"{{ path('app_identity_authentication_status') | escape('js') }}",
"{{ path('app_identity_authentication_notification') | escape('js') }}",
"{{ path('app_identity_authentication_notification') | escape('js') }}"
);
</script>
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<script>
var registrationStateMachine = bootstrapRegistration(
"{{ path('app_identity_registration_status') | escape('js') }}",
"{{ path('app_identity_registration') | escape('js') }}",
"{{ path('app_identity_registration') | escape('js') }}"
);
</script>
{% endblock %}
2 changes: 1 addition & 1 deletion src/SpBundle/Resources/views/default/sp.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

<script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
<script>
jQuery('#locale-cookie').on('change', (input) => {
jQuery('#locale-cookie').on('change', function (input) {
Cookies.set('stepup_locale', input.target.value);
});
</script>
Expand Down

0 comments on commit 34e95c1

Please sign in to comment.