added timeout to address bar hiding (as per the official way of accomplishing this task )

This commit is contained in:
psychobunny
2013-06-05 17:14:10 -04:00
parent 950fdefd7b
commit 2638c03752
2 changed files with 4 additions and 2 deletions

View File

@@ -199,7 +199,9 @@ var socket,
populate_online_users(); populate_online_users();
setTimeout(function() {
window.scrollTo(0, 1); // rehide address bar on mobile after page load completes. window.scrollTo(0, 1); // rehide address bar on mobile after page load completes.
}, 100);
} }
socket.on('api:user.get_online_users', function(users) { socket.on('api:user.get_online_users', function(users) {