mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 18:17:36 +02:00
Fixes #193
This commit is contained in:
@@ -37,11 +37,13 @@ $(document).ready(function(){
|
||||
sidebar.removeEventListener('click',mobile.sidebar_click);
|
||||
overlay.removeEventListener('click',mobile.overlay_click);
|
||||
},
|
||||
titlebar_click: function(){
|
||||
titlebar_click: function(event){
|
||||
//onclick event stuff here;
|
||||
//console.log("Mobile onClick");
|
||||
if(!$(event.target).parents('.button-bar').length>0){
|
||||
$(sidebar).toggle('slide');
|
||||
overlay.style.display = "inherit";
|
||||
}
|
||||
},
|
||||
sidebar_click: function(){
|
||||
//onclick event stuff here;
|
||||
|
||||
Reference in New Issue
Block a user