Fixed review

This commit is contained in:
Nicolas Lœuillet 2016-10-31 17:20:27 +01:00
parent 3b81212674
commit 68e0efffb8
No known key found for this signature in database
GPG key ID: 5656BE27E1E34D0A
2 changed files with 8 additions and 8 deletions

View file

@ -56,13 +56,13 @@
</div>
<div class="row">
<h3>{{ 'config.form_settings.android_configuration'|trans }}</h3>
<a href="wallabag://{{ app.user.username }}@{{ wallabag_url }}" >Touch here to prefill your Android application</a>
<img id="androidQrcode" />
<script>
const imgBase64 = jrQrcode.getQrBase64('wallabag://{{ app.user.username }}@{{ wallabag_url }}');
document.getElementById('androidQrcode').src=imgBase64;
</script>
<h3>{{ 'config.form_settings.android_configuration'|trans }}</h3>
<a href="wallabag://{{ app.user.username }}@{{ wallabag_url }}" >Touch here to prefill your Android application</a>
<img id="androidQrcode" />
<script>
const imgBase64 = jrQrcode.getQrBase64('wallabag://{{ app.user.username }}@{{ wallabag_url }}');
document.getElementById('androidQrcode').src = imgBase64;
</script>
</div>
</fieldset>

View file

@ -79,7 +79,7 @@
</div>
<script>
const imgBase64 = jrQrcode.getQrBase64('wallabag://{{ app.user.username }}@{{ wallabag_url }}');
document.getElementById('androidQrcode').src=imgBase64;
document.getElementById('androidQrcode').src = imgBase64;
</script>
</div>