Browse Source

test

master
farhan 4 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
 
72
 
73
         // Toggle visibility and z-index
73
         // Toggle visibility and z-index
74
         if (isLeftOffScreen && left < 0) {
74
         if (isLeftOffScreen && left < 0) {
75
-            $('.parent').removeClass(['z-30']);
76
-        } else {
77
             $('.left').css('left', 0 + "px");
75
             $('.left').css('left', 0 + "px");
78
             $('.right').css('right', 0 + "px");
76
             $('.right').css('right', 0 + "px");
77
+            $('.parent').removeClass(['z-30']);
78
+        } else {
79
+            
79
             $('.parent').addClass(['z-30']);
80
             $('.parent').addClass(['z-30']);
80
         }
81
         }
81
     });
82
     });

Loading…
Cancel
Save