瀏覽代碼

duration

master
farhan 4 月之前
父節點
當前提交
5ffc5d73ed
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      resources/js/app.js

+ 3
- 3
resources/js/app.js 查看文件

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

Loading…
取消
儲存