WIP sidebar

This commit is contained in:
Jamie Kerner 2019-01-14 12:48:44 +01:00
parent 51489ca018
commit 47b2c25fd4
3 changed files with 85 additions and 18 deletions

12
public_html/js/sidebar.js Normal file
View file

@ -0,0 +1,12 @@
// https://bootstrapious.com/p/bootstrap-sidebar
$(document).ready(function () {
$('#sidebarCollapse').on('click touch', function () {
$('#sidebar').removeClass('active');
});
$('#sidebarShow').on('click touch', function () {
$('#sidebar').addClass('active');
});
});