Browse Source

duration 5 seconds

master
farhan 4 months ago
parent
commit
0a8db1e3c4
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 = 3000; // duration of the animation
127
+                var duration = 5000; // 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