mirror of
https://github.com/onionshare/onionshare.git
synced 2025-12-10 22:16:49 -05:00
Merge branch 'develop' of https://github.com/a1346054/onionshare into a1346054-develop
This commit is contained in:
commit
a71a4f9baa
21 changed files with 41 additions and 41 deletions
|
|
@ -11,7 +11,7 @@ $(function () {
|
|||
// Store current username received from app context
|
||||
var current_username = $('#username').val();
|
||||
|
||||
// On browser connect, emit a socket event to be added to
|
||||
// On browser connect, emit a socket event to be added to
|
||||
// room and assigned random username
|
||||
socket.on('connect', function () {
|
||||
socket.emit('joined', {});
|
||||
|
|
@ -148,7 +148,7 @@ var getScrollDiffBefore = function () {
|
|||
|
||||
var scrollBottomMaybe = function (scrollDiff) {
|
||||
// Scrolls to bottom if the user is scrolled at bottom
|
||||
// if the user has scrolled upp, it wont scroll at bottom.
|
||||
// if the user has scrolled up, it won't scroll at bottom.
|
||||
// Note: when a user themselves send a message, it will still
|
||||
// scroll to the bottom even if they had scrolled up before.
|
||||
if (scrollDiff > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue