fix and rename variables + remove comments

This commit is contained in:
2021-08-07 19:21:34 +02:00
parent e178183cef
commit c075ff199d
5 changed files with 12 additions and 12 deletions

View File

@@ -44,21 +44,21 @@
window.modalTitle = '{{ modalTitle|trans|e('js') }}';
{% endif %}
window.button = {};
{% if buttonText is defined %}
window.buttonText = '{{ buttonText|trans|e('js') }}';
{% endif %}
{% if buttonType is defined %}
window.button.type = '{{ buttonType|e('js') }}';
window.buttonType = '{{ buttonType|e('js') }}';
{% endif %}
{% if buttonSize is defined %}
window.button.size = '{{ buttonSize|e('js') }}';
window.buttonSize = '{{ buttonSize|e('js') }}';
{% endif %}
{% if buttonDisplay is defined and buttonDisplay == false %}
window.button.display = false;
window.buttonDisplay = false;
{% endif %}
{% if binModalStep1 is defined and binModalStep1 == false %}