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

v1.18.x
psychobunny 12 years ago
parent 950fdefd7b
commit 2638c03752

@ -47,7 +47,7 @@ var ajaxify = {};
}
jQuery('#footer, #content').fadeOut(100);
templates.flush();
templates.load_template(function() {
exec_body_scripts(content);

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

Loading…
Cancel
Save