Skip to content

Commit 2c0a28d

Browse files
author
sanex3339
committed
Changed scroll logic
1 parent 96aac82 commit 2c0a28d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,17 @@ <h1>JavaScript Obfuscator Tool</h1>
6767
width="90px"
6868
height="30px"
6969
></iframe>
70-
<a
70+
<div
7171
id="donate"
72-
href="#DonateBadges"
7372
title="Sponsor javascript-obfuscator/javascript-obfuscator"
7473
role="button"
74+
onclick="window.scrollTo(0, document.body.scrollHeight)"
7575
>
7676
<svg id="donate-heart" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true">
7777
<path fill-rule="evenodd" d="M8.727 3C7.091 3 6.001 4.65 6.001 4.65S4.909 3 3.273 3C1.636 3 0 4.1 0 6.3 0 9.6 6 14 6 14s6-4.4 6-7.7C12 4.1 10.364 3 8.727 3z"></path>
7878
</svg>
7979
Sponsor
80-
</a>
80+
</div>
8181
</div>
8282
</div>
8383
</div>

0 commit comments

Comments
 (0)