fixed view and multi
This commit is contained in:
@@ -37,6 +37,16 @@ $(function () {
|
||||
},
|
||||
));
|
||||
}),
|
||||
// NEW: se la pagina parte già con .wrapper.toggled, abilita subito l'hover
|
||||
$(".wrapper").hasClass("toggled") &&
|
||||
$(".sidebar-wrapper").hover(
|
||||
function () {
|
||||
$(".wrapper").addClass("sidebar-hovered");
|
||||
},
|
||||
function () {
|
||||
$(".wrapper").removeClass("sidebar-hovered");
|
||||
},
|
||||
),
|
||||
$(document).ready(function () {
|
||||
$(window).on("scroll", function () {
|
||||
$(this).scrollTop() > 300
|
||||
|
||||
Reference in New Issue
Block a user