wiz
This commit is contained in:
parent
0683f707cd
commit
5083ef40e1
2 changed files with 18 additions and 1 deletions
|
|
@ -34,6 +34,8 @@
|
||||||
-ms-user-select: text !important;
|
-ms-user-select: text !important;
|
||||||
user-select: text !important;
|
user-select: text !important;
|
||||||
pointer-events: auto !important;
|
pointer-events: auto !important;
|
||||||
|
position: relative; /* Ensure z-index is respected */
|
||||||
|
z-index: 10; /* Bring to the front */
|
||||||
}
|
}
|
||||||
.qrcode-box { cursor: pointer; }
|
.qrcode-box { cursor: pointer; }
|
||||||
.qrcode-box.revealed { cursor: default; }
|
.qrcode-box.revealed { cursor: default; }
|
||||||
|
|
|
||||||
|
|
@ -161,10 +161,24 @@ $(() => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
cs.text(connectString);
|
cs.text(connectString);
|
||||||
codebox.addClass('revealed');
|
codebox.addClass('revealed');
|
||||||
codebox.find('.qr-veil').hide();
|
|
||||||
|
const veil = codebox.find('.qr-veil');
|
||||||
|
veil.css({ // Force veil styles off
|
||||||
|
'backdrop-filter': 'none',
|
||||||
|
'-webkit-backdrop-filter': 'none',
|
||||||
|
}).hide();
|
||||||
|
|
||||||
clickText.hide();
|
clickText.hide();
|
||||||
|
|
||||||
// Unbind to allow text selection and normal behavior after reveal
|
// Unbind to allow text selection and normal behavior after reveal
|
||||||
codebox.off('click');
|
codebox.off('click');
|
||||||
|
|
||||||
|
// Force text to be selectable on top
|
||||||
|
cs.css({
|
||||||
|
'user-select': 'text',
|
||||||
|
'-webkit-user-select': 'text',
|
||||||
|
'pointer-events': 'auto'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|
@ -195,6 +209,7 @@ $(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Initial state load (no redirects; SPA only)
|
// Initial state load (no redirects; SPA only)
|
||||||
|
console.log('Wizard script version: REVEAL_FIX_3 activated');
|
||||||
fetch("/wizard/service_state").then(res => res.json()).then(state => {
|
fetch("/wizard/service_state").then(res => res.json()).then(state => {
|
||||||
nodeNameInput.val(state.source_name);
|
nodeNameInput.val(state.source_name);
|
||||||
if (state.relay_url === 'wss://relay.lightning.pub') {
|
if (state.relay_url === 'wss://relay.lightning.pub') {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue