forked from rDrama/rDrama
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
parent
2552874322
commit
0f00c3b7a8
|
@ -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 %}
|
|
@ -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 %}
|
Loading…
Reference in New Issue