mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Refactored into pyShelf.ts.
This commit is contained in:
5
src/frontend/static/script/pyshelf.ts
vendored
5
src/frontend/static/script/pyshelf.ts
vendored
@@ -15,7 +15,12 @@ function sizeMaster() {
|
||||
$(document).ready(function() {
|
||||
// Get the current URL
|
||||
var url = window.location.href;
|
||||
console.log(url);
|
||||
// Get the last part of the URL
|
||||
$(".navbar-burger").click(function(){
|
||||
$(".navbar-burger").toggleClass("is-active");
|
||||
$(".navbar-menu").toggleClass("is-active");
|
||||
});
|
||||
sizeMaster();
|
||||
$(window).on('resize', function() {
|
||||
sizeMaster();
|
||||
|
||||
Reference in New Issue
Block a user