WIP sidebar
This commit is contained in:
parent
51489ca018
commit
47b2c25fd4
3 changed files with 85 additions and 18 deletions
12
public_html/js/sidebar.js
Normal file
12
public_html/js/sidebar.js
Normal 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');
|
||||
});
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue