Refactored into pyShelf.ts.

This commit is contained in:
th3r00t
2023-11-04 23:43:32 -04:00
parent d1e095b871
commit fa33977e83
3 changed files with 6 additions and 22 deletions

View File

@@ -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();