Skip to content

Commit 60552db

Browse files
authored
Update live-view.js
1 parent 7f3d589 commit 60552db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

live-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ if (isMobile) {
383383
const shareData = 'Run ' + treeLoc[0] + '/' + treeLoc[1] + ' with Codeit: ' +
384384
window.location.origin + '/full?q=' + encodeURIComponent(treeLoc.join(',') + '+' + selectedFile.name + ',' + selectedFile.sha) + '&l=true';
385385

386-
copy(shareData.text);
386+
copy(shareData);
387387
alert('Copied link to clipboard.');
388388

389389
});

0 commit comments

Comments
 (0)