Further bugfixes related to chat/debug.
This commit is contained in:
parent
0108d1b49c
commit
1a701e5a32
@ -480,7 +480,7 @@ window.chat.chooseAnchor = function(t) {
|
||||
var input = $('#chatinput input');
|
||||
|
||||
$('#chatcontrols .active').removeClass('active');
|
||||
t.addClass('active');
|
||||
$("#chatcontrols a:contains('" + tt + "')").addClass('active');
|
||||
|
||||
$('#chat > div').hide();
|
||||
|
||||
|
@ -58,7 +58,7 @@ window.debug.console.show = function() {
|
||||
$('#chat > div').hide();
|
||||
$('#debugconsole').show();
|
||||
$('#chatcontrols .active').removeClass('active');
|
||||
$(this).addClass('active');
|
||||
$("#chatcontrols a:contains('debug')").addClass('active');
|
||||
}
|
||||
|
||||
window.debug.console.create = function() {
|
||||
|
@ -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
|
||||
|
@ -24,7 +24,7 @@ window.show = function(id) {
|
||||
window.smartphone.sideButton.click();
|
||||
break;
|
||||
default:
|
||||
window.smartphone.mapButton.Click();
|
||||
window.smartphone.mapButton.click();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -67,8 +67,15 @@ body {
|
||||
width: 77px;
|
||||
}
|
||||
|
||||
#chatcontrols a.active {
|
||||
border-color: #FFCE00;
|
||||
border-bottom-width:0px;
|
||||
font-weight:bold
|
||||
}
|
||||
|
||||
|
||||
#chatcontrols a.active + a {
|
||||
border-left-color: #FFCE00
|
||||
}
|
||||
|
||||
#sidebartoggle {
|
||||
display: none !important;
|
||||
|
Loading…
x
Reference in New Issue
Block a user