bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb

remotes/1693045480750635534/spooky-22
Aevann1 2022-01-15 12:23:43 +02:00
parent 2552874322
commit 0f00c3b7a8
2 changed files with 3 additions and 7 deletions

View File

@ -74,11 +74,4 @@
{% endif %}
<input type="button" value="Say hello" onClick="Subscribe('{{request.host}}{{v.id}}')" />
<script type="text/javascript">
Android.Subscribe('{{request.host}}{{v.id}}');
function Subscribe(toast) {
Android.Subscribe(toast);
}
</script>
{% endblock %}

View File

@ -168,6 +168,9 @@
<div class="d-none" id="strid">{{request.host}}{{v.id}}</div>
<div class="d-none" id="pusherid">{{PUSHER_ID}}</div>
<script src="/static/assets/js/pusher.js?a=9"></script>
<script>
Android.Subscribe('{{request.host}}{{v.id}}');
</script>
{% endif %}
{% endblock %}