mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-28 12:56:16 +02:00
zindex to moon
This commit is contained in:
@@ -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 +
|
||||||
|
@@ -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 +
|
||||||
|
Reference in New Issue
Block a user