zindex to moon

This commit is contained in:
Ben Arc
2021-04-14 22:30:24 +01:00
parent 12adfabbb0
commit 859836811e
2 changed files with 8 additions and 9 deletions

View File

@@ -15,11 +15,10 @@
></video> ></video>
<img src="" style="width: 100%" id="animations" class="fixed-bottom-left" /> <img src="" style="width: 100%" id="animations" class="fixed-bottom-left" />
<qrcode <qrcode
style="width: 10%: z-index:9999" style="width: 10%; z-index: 9999"
:value="{{copilot.lnurl}}" :value="{{copilot.lnurl}}"
:options="{width: 800}" :options="{width: 800}"
class="rounded-borders" class="rounded-borders fixed-top-right"
class="fixed-top-right"
></qrcode> ></qrcode>
<q-btn <q-btn
color="primary" color="primary"
@@ -85,9 +84,9 @@
}, },
created: function () { created: function () {
console.log('{{ copilot.id }}') console.log('{{ copilot.id }}')
if (location.protocol !== 'https:') { if (location.protocol !== 'http:') {
this.connection = new WebSocket( this.connection = new WebSocket(
'ws://' + 'wss://' +
document.domain + document.domain +
':' + ':' +
location.port + location.port +
@@ -95,7 +94,7 @@
) )
} else { } else {
this.connection = new WebSocket( this.connection = new WebSocket(
'wss://' + 'ws://' +
document.domain + document.domain +
':' + ':' +
location.port + location.port +

View File

@@ -170,9 +170,9 @@
created: function () { created: function () {
console.log('{{ copilot.id }}') console.log('{{ copilot.id }}')
if (location.protocol !== 'https:') { if (location.protocol == 'https:') {
this.connection = new WebSocket( this.connection = new WebSocket(
'ws://' + 'wss://' +
document.domain + document.domain +
':' + ':' +
location.port + location.port +
@@ -180,7 +180,7 @@
) )
} else { } else {
this.connection = new WebSocket( this.connection = new WebSocket(
'wss://' + 'ws://' +
document.domain + document.domain +
':' + ':' +
location.port + location.port +