瀏覽代碼

maxScrolls to 8

master
farhan 5 月之前
父節點
當前提交
0a66b76a4a
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      resources/views/digital-card.blade.php

+ 1
- 1
resources/views/digital-card.blade.php 查看文件

@@ -69,7 +69,7 @@
69 69
                 var audioElement = document.getElementById('player');
70 70
                 var hasPlayed = false; // To ensure audio only plays once upon clicking and scrolling
71 71
                 var scrollCount = 0;
72
-                var maxScrolls = 6;
72
+                var maxScrolls = 8;
73 73
                 var scrollInterval = 500; // Time in milliseconds between each scroll
74 74
                 var scrollAmount = window.innerHeight / 6; // Amount to scroll per interval
75 75
     

Loading…
取消
儲存