pull/79/head
justcool393 2022-12-16 15:21:36 -06:00 committed by geese_suck
parent ca78b26394
commit 40f14310a0
Signed by: geese_suck
GPG Key ID: 4D09E4B0A7264746
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
/*jslint nomen: true, plusplus: true, sloppy: true, vars: true, white: true */ /*jslint nomen: true, plusplus: true, sloppy: true, vars: true, white: true */
/*global window, document, navigator, clearInterval, setInterval */ /*global window, document, navigator, clearInterval, setInterval */
function snow(window, document, flakesMax) { function snow(flakesMax) {
// --- common properties --- // --- common properties ---
this.autoStart = true; // Whether the snow should start automatically or not. this.autoStart = true; // Whether the snow should start automatically or not.

View File

@ -6,6 +6,6 @@
{% endfor %} {% endfor %}
{% if p.award_count("snow", v) %} {% if p.award_count("snow", v) %}
<script src="{{'js/event/snow.js'|asset}}"></script> <script src="{{'js/event/snow.js'|asset}}"></script>
<script>snow(window, document, 80 * {{p.award_count('snow', v)}});</script> <script>snow(80 * {{p.award_count('snow', v)}});</script>
{% endif %} {% endif %}
</div> </div>

View File

@ -1,6 +1,6 @@
{# <script src="{{'js/event/neko.js'|asset}}"></script> #} {# <script src="{{'js/event/neko.js'|asset}}"></script> #}
<script src="{{'js/event/snow.js'|asset}}"></script> <script src="{{'js/event/snow.js'|asset}}"></script>
{% if request.path == '/' %}<script>snow(window, document, 80);</script>{% endif %} {% if request.path == '/' %}<script>snow(80);</script>{% endif %}
<div class="candy-cane"></div> <div class="candy-cane"></div>