master
kek7198 2021-12-10 18:40:06 -06:00
parent 0535a65e08
commit 16c9c4c113
2 changed files with 1 additions and 13 deletions

View File

@ -344,18 +344,6 @@
{% if v %}
<script>function formkey() {return '{{v.formkey}}';}</script>
<script src="/assets/js/default.js?v=57"></script>
<!-- Push notifications -->
<script src="/assets/js/pusher.js"></script>
<script>
const beamsClient = new PusherPushNotifications.Client({
instanceId: '02ddcc80-b8db-42be-9022-44c546b4dce6',
});
beamsClient.start()
.then((beamsClient) => beamsClient.getDeviceId())
.then(() => beamsClient.addDeviceInterest('{{v.strid}}'))
.then(() => beamsClient.getDeviceInterests())
.catch(console.error);
</script>
{% endif %}
</body>

View File

@ -74,10 +74,10 @@
{% if v %}
<script src="/assets/js/award_modal.js?v=59"></script>
<script src="/assets/js/pusher.js?v=6"></script>
{% endif %}
<script src="/assets/js/submission_listing.js?v=3"></script>
<script src="/assets/js/pusher.js?v=6"></script>
{% if not v.fp %}
<script>