Merge pull request #27 from Aevann1/gold

djfzjg
This commit is contained in:
fireworks88 2021-08-23 12:36:35 +00:00 committed by GitHub
commit f8b7b9fcd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -195,12 +195,12 @@
{% if p.award_count("gold") %} {% if p.award_count("gold") %}
{% set sparkles = 10*p.award_count("gold") if p.award_count("gold") <= 5 else 50 %} {% set sparkles = 10*p.award_count("gold") if p.award_count("gold") <= 5 else 50 %}
<style> <style>
#thread { #post-body {
z-index: 50; z-index: 50;
} }
</style> </style>
<script> <script>
document.querySelector("#thread").sparkle({ document.querySelector("#post-body").sparkle({
count: {{ sparkles }}, count: {{ sparkles }},
minAge: 500, minAge: 500,
maxAge: 1000, maxAge: 1000,