Skip to content

Commit 74a1506

Browse files
authored
Update live-view.js
1 parent 0a6eec4 commit 74a1506

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

live-view.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,7 @@ if (isMobile) {
380380
// if clicked on share button,
381381
// share live view URL
382382

383-
const shareData = 'Run ' + treeLoc[0] + '/' + treeLoc[1] + ' with Codeit: ' +
384-
window.location.origin + '/full?q=' + encodeURIComponent(treeLoc.join(',') + '+' + selectedFile.name + ',' + selectedFile.sha) + '&l=true';
383+
const shareData = window.location.origin + '/full?q=' + encodeURIComponent(treeLoc.join(',') + '+' + selectedFile.name + ',' + selectedFile.sha) + '&l=true';
385384

386385
copy(shareData);
387386
alert('Copied link to clipboard.');

0 commit comments

Comments
 (0)