Skip to content

Commit 3adb3a5

Browse files
committed
Update filebrowser.js
1 parent 01b8ba7 commit 3adb3a5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

filebrowser.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2537,10 +2537,17 @@ repoShareButton.addEventListener('click', () => {
25372537
*/
25382538

25392539

2540+
// show about page on click of button
2541+
learnAbout.addEventListener('click', () => {
2542+
2543+
window.location.href = window.location.origin + '/?p';
2544+
2545+
});
2546+
25402547
// share codeit on click of button
25412548
learnShare.addEventListener('click', () => {
25422549

2543-
const invite = 'Hey, I\'m using Codeit to code. It\'s a mobile code editor connected to Git. Join me! ' + window.location.origin;
2550+
const invite = 'Hi, I\'m using Codeit to code. It\'s a mobile code editor connected to Git. Join me! ' + window.location.origin;
25442551

25452552
if (isMobile) {
25462553

0 commit comments

Comments
 (0)