Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Reformat code

dominik-zeglenb34b20e32000
diff --git a/saleor/static/dashboard/js/dashboard.js b/saleor/static/dashboard/js/dashboard.js
index 80df88a06e..c04cec50d9 100644
--- a/saleor/static/dashboard/js/dashboard.js
+++ b/saleor/static/dashboard/js/dashboard.js
@@ -50,16 +50,15 @@ function openModal() {
}
$(document).ready(function () {
-
let styleGuideMenu = $('.styleguide__menu');
$(window).scroll(function () {
if ($(this).scrollTop() > 100) {
- styleGuideMenu.addClass("fixed");
+ styleGuideMenu.addClass('fixed');
} else {
- styleGuideMenu.removeClass("fixed");
+ styleGuideMenu.removeClass('fixed');
}
- })
+ });
let mainNavTop = $('.side-nav');
let $toggleMenu = $('#toggle-menu');