wiz
This commit is contained in:
parent
ca72dae919
commit
bb34e47e46
3 changed files with 8 additions and 3 deletions
|
|
@ -156,13 +156,15 @@ $(() => {
|
|||
|
||||
// Reveal on click: show string below and remove veil/heading
|
||||
codebox.off('click').on('click', (e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
if (!codebox.hasClass('revealed')) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
cs.text(connectString);
|
||||
codebox.addClass('revealed');
|
||||
codebox.find('.qr-veil').hide();
|
||||
clickText.hide();
|
||||
// Unbind to allow text selection and normal behavior after reveal
|
||||
codebox.off('click');
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue