Skip to content

Commit 501945a

Browse files
committed
Update live-view.js
1 parent 69bd315 commit 501945a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

live-view/live-view.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,13 +547,17 @@ if (isMobile) {
547547

548548
liveButtonOptions.addEventListener('click', () => {
549549

550+
shareLiveViewLink();
551+
552+
/*
550553
// if clicked on options button, toggle menu
551554
liveViewMenu.classList.toggle('visible');
552555
liveButtonOptions.classList.toggle('active');
556+
*/
553557

554558
});
555559

556-
liveMenuShare.addEventListener('click', () => {
560+
function shareLiveViewLink() {
557561

558562
// share live view link
559563

@@ -568,7 +572,11 @@ if (isMobile) {
568572
url: link,
569573
});
570574

571-
});
575+
}
576+
577+
/*
578+
579+
liveMenuShare.addEventListener('click', shareLiveViewLink);
572580
573581
liveMenuConsole.addEventListener('click', () => {
574582
@@ -604,6 +612,8 @@ if (isMobile) {
604612
liveButtonOptions.classList.remove('active');
605613
606614
});
615+
616+
*/
607617

608618
} else {
609619

0 commit comments

Comments
 (0)