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');
|
var input = $('#chatinput input');
|
||||||
|
|
||||||
$('#chatcontrols .active').removeClass('active');
|
$('#chatcontrols .active').removeClass('active');
|
||||||
t.addClass('active');
|
$("#chatcontrols a:contains('" + tt + "')").addClass('active');
|
||||||
|
|
||||||
$('#chat > div').hide();
|
$('#chat > div').hide();
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ window.debug.console.show = function() {
|
|||||||
$('#chat > div').hide();
|
$('#chat > div').hide();
|
||||||
$('#debugconsole').show();
|
$('#debugconsole').show();
|
||||||
$('#chatcontrols .active').removeClass('active');
|
$('#chatcontrols .active').removeClass('active');
|
||||||
$(this).addClass('active');
|
$("#chatcontrols a:contains('debug')").addClass('active');
|
||||||
}
|
}
|
||||||
|
|
||||||
window.debug.console.create = function() {
|
window.debug.console.create = function() {
|
||||||
|
@ -38,8 +38,8 @@ window.runOnSmartphonesBeforeBoot = function() {
|
|||||||
$('#chat, #chatinput, #scrollwrapper').hide();
|
$('#chat, #chatinput, #scrollwrapper').hide();
|
||||||
$('#map').css('visibility', 'visible');
|
$('#map').css('visibility', 'visible');
|
||||||
$('#updatestatus').show();
|
$('#updatestatus').show();
|
||||||
$('.active').removeClass('active');
|
$('#chatcontrols a .active').removeClass('active');
|
||||||
$(this).addClass('active');
|
$("#chatcontrols a:contains('map')").addClass('active');
|
||||||
});
|
});
|
||||||
|
|
||||||
window.smartphone.sideButton = $('<a>info</a>').click(function() {
|
window.smartphone.sideButton = $('<a>info</a>').click(function() {
|
||||||
@ -47,7 +47,7 @@ window.runOnSmartphonesBeforeBoot = function() {
|
|||||||
$('#map').css('visibility', 'hidden');
|
$('#map').css('visibility', 'hidden');
|
||||||
$('#scrollwrapper').show();
|
$('#scrollwrapper').show();
|
||||||
$('.active').removeClass('active');
|
$('.active').removeClass('active');
|
||||||
$(this).addClass('active');
|
$("#chatcontrols a:contains('info')").addClass('active');
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#chatcontrols').append(smartphone.mapButton).append(smartphone.sideButton);
|
$('#chatcontrols').append(smartphone.mapButton).append(smartphone.sideButton);
|
||||||
@ -72,7 +72,6 @@ window.runOnSmartphonesAfterBoot = function() {
|
|||||||
if(!isSmartphone()) return;
|
if(!isSmartphone()) return;
|
||||||
console.warn('running smartphone post boot stuff');
|
console.warn('running smartphone post boot stuff');
|
||||||
|
|
||||||
//chat.toggle();
|
|
||||||
smartphone.mapButton.click();
|
smartphone.mapButton.click();
|
||||||
|
|
||||||
// disable img full view
|
// disable img full view
|
||||||
|
@ -24,7 +24,7 @@ window.show = function(id) {
|
|||||||
window.smartphone.sideButton.click();
|
window.smartphone.sideButton.click();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
window.smartphone.mapButton.Click();
|
window.smartphone.mapButton.click();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -67,8 +67,15 @@ body {
|
|||||||
width: 77px;
|
width: 77px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#chatcontrols a.active {
|
||||||
|
border-color: #FFCE00;
|
||||||
|
border-bottom-width:0px;
|
||||||
|
font-weight:bold
|
||||||
|
}
|
||||||
|
|
||||||
|
#chatcontrols a.active + a {
|
||||||
|
border-left-color: #FFCE00
|
||||||
|
}
|
||||||
|
|
||||||
#sidebartoggle {
|
#sidebartoggle {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user