Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Commit 14dbe2e

Browse files
committed
fix
1 parent 8539f84 commit 14dbe2e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.idea/workspace.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/jsMain/kotlin/ru/morozovit/webcorrupter/Main.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ object Virus {
1818
private const val MAX_SPEED_FACTOR = 10.0
1919
private val max: Int get() {
2020
val elementCount = document.documentElement!!.querySelectorAll("*").length
21-
return (elementCount / 20).coerceAtLeast(10)
21+
return (elementCount / 5).coerceAtLeast(10)
2222
}
2323
private lateinit var prevPage: String
2424
private var isActive = true

0 commit comments

Comments
 (0)