Browse Source

test

master
farhan 5 months ago
parent
commit
fc6e66d9c6
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      resources/js/app.js

+ 3
- 2
resources/js/app.js View File

@@ -72,10 +72,11 @@ $(function() {
72 72
 
73 73
         // Toggle visibility and z-index
74 74
         if (isLeftOffScreen && left < 0) {
75
-            $('.parent').removeClass(['z-30']);
76
-        } else {
77 75
             $('.left').css('left', 0 + "px");
78 76
             $('.right').css('right', 0 + "px");
77
+            $('.parent').removeClass(['z-30']);
78
+        } else {
79
+            
79 80
             $('.parent').addClass(['z-30']);
80 81
         }
81 82
     });

Loading…
Cancel
Save