Skip to content

Commit 76a83f0

Browse files
committed
added clearer instructions and a "Force sync" button
1 parent e3aaf81 commit 76a83f0

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎v3/js/opt-frontend-common.js‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,13 +424,15 @@ function populateTogetherJsShareUrl() {
424424
var cleanUrl = $.param.fragment(location.href, {}, 2 /* override */);
425425
var urlToShare = cleanUrl + 'togetherjs=' + TogetherJS.shareId();
426426
$("#togetherjsStatus").html('<div>\
427-
Copy and send this URL to let others join your session:\
427+
Copy and send this URL to let someone (e.g., a tutor or friend) join your live session:\
428428
</div>\
429429
<input type="text" style="font-size: 11pt; \
430430
font-weight: bold; padding: 5px;\
431431
margin-bottom: 6pt;" \
432-
id="togetherjsURL" size="80" readonly="readonly"/>');
433-
$("#togetherjsURL").val(urlToShare).attr('size', urlToShare.length + 25);
432+
id="togetherjsURL" size="80" readonly="readonly"/>\
433+
<button id="syncBtn" type="button" style="font-size: 8pt;">Force sync</button>');
434+
$("#togetherjsURL").val(urlToShare).attr('size', urlToShare.length + 20);
435+
$("#syncBtn").click(requestSync);
434436
}
435437

436438
// END - shared session stuff

0 commit comments

Comments
 (0)