Allow plugins to add panes to mobile nav drawer
This commit is contained in:
@ -3,6 +3,8 @@
|
||||
window.show = function(id) {
|
||||
window.hideall();
|
||||
|
||||
runHooks("paneChanged", id);
|
||||
|
||||
switch(id) {
|
||||
case 'full':
|
||||
window.chat.show('full');
|
||||
@ -27,9 +29,6 @@ window.show = function(id) {
|
||||
case 'info':
|
||||
window.smartphone.sideButton.click();
|
||||
break;
|
||||
default:
|
||||
window.smartphone.mapButton.click();
|
||||
break;
|
||||
}
|
||||
|
||||
if (typeof android !== 'undefined' && android && android.switchToPane) {
|
||||
|
Reference in New Issue
Block a user