Further bugfixes related to chat/debug.

This commit is contained in:
Jon Benson
2013-05-07 15:21:05 +10:00
parent 0108d1b49c
commit 1a701e5a32
6 changed files with 15 additions and 9 deletions

View File

@ -38,8 +38,8 @@ window.runOnSmartphonesBeforeBoot = function() {
$('#chat, #chatinput, #scrollwrapper').hide();
$('#map').css('visibility', 'visible');
$('#updatestatus').show();
$('.active').removeClass('active');
$(this).addClass('active');
$('#chatcontrols a .active').removeClass('active');
$("#chatcontrols a:contains('map')").addClass('active');
});
window.smartphone.sideButton = $('<a>info</a>').click(function() {
@ -47,7 +47,7 @@ window.runOnSmartphonesBeforeBoot = function() {
$('#map').css('visibility', 'hidden');
$('#scrollwrapper').show();
$('.active').removeClass('active');
$(this).addClass('active');
$("#chatcontrols a:contains('info')").addClass('active');
});
$('#chatcontrols').append(smartphone.mapButton).append(smartphone.sideButton);
@ -72,7 +72,6 @@ window.runOnSmartphonesAfterBoot = function() {
if(!isSmartphone()) return;
console.warn('running smartphone post boot stuff');
//chat.toggle();
smartphone.mapButton.click();
// disable img full view