Browse Source

duration

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

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

128
                 var screenWidth = window.innerWidth;
128
                 var screenWidth = window.innerWidth;
129
                 var duration;
129
                 var duration;
130
                 if (screenWidth < 600) {
130
                 if (screenWidth < 600) {
131
-                    duration = 3000; // Smaller screen
131
+                    duration = 6000; // Smaller screen
132
                 } else if (screenWidth < 1200) {
132
                 } else if (screenWidth < 1200) {
133
-                    duration = 6000; // Medium screen
133
+                    duration = 12000; // Medium screen
134
                 } else {
134
                 } else {
135
-                    duration = 10000; // Larger screen
135
+                    duration = 15000; // Larger screen
136
                 }
136
                 }
137
                 var startTime = null;
137
                 var startTime = null;
138
 
138
 

Loading…
Cancel
Save