Browse Source

set 3 seconds for slider to open

master
farhan 4 months ago
parent
commit
656f682931
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      resources/js/app.js

+ 1
- 1
resources/js/app.js View File

124
             } else {
124
             } else {
125
                 var start = window.pageYOffset;
125
                 var start = window.pageYOffset;
126
                 var target = start + scrollAmount;
126
                 var target = start + scrollAmount;
127
-                var duration = 1500; // duration of the animation
127
+                var duration = 3000; // duration of the animation
128
                 var startTime = null;
128
                 var startTime = null;
129
 
129
 
130
                 function scrollStep(timestamp) {
130
                 function scrollStep(timestamp) {

Loading…
Cancel
Save