mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#12132 Limit tips
This commit is contained in:
parent
f8c99c6ada
commit
c9966ed999
@ -134,8 +134,9 @@ function render_counter() {
|
||||
$(".counter-tips img:eq(0)").after(
|
||||
"<span class='count-round-tip active'></span>"
|
||||
);
|
||||
var limitRound = totalTips > 28 ? 28 : totalTips;
|
||||
if (totalTips > 1) {
|
||||
for (let i = 1; i <= totalTips - 1; i++) {
|
||||
for (let i = 1; i <= limitRound - 1; i++) {
|
||||
$(".count-round-tip:eq(0)").after(
|
||||
"<span class='count-round-tip'></span>"
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user