mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
added timeout to address bar hiding (as per the official way of accomplishing this task )
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user