make threshold for RAM 3GB instead of 2.99GB

remotes/1693045480750635534/spooky-22
Aevann1 2022-06-25 05:01:19 +02:00
parent a990e6cf6e
commit 37b8fc5666
3 changed files with 7 additions and 7 deletions

View File

@ -6,7 +6,7 @@
<meta name="description" content="{{DESCRIPTION}}">
<script>
if (navigator.deviceMemory < 3)
if (navigator.devicememory <= 3)
{
const head = document.getElementsByTagName('HEAD')[0];
const link = document.createElement('link');

View File

@ -70,7 +70,7 @@
{% endif %}
{% if p.award_count("firework") %}
<script defer src="/assets/js/fireworks.js?v=5"></script>
<script defer src="/assets/js/fireworks.js?v=6"></script>
<div class="firework">
<img src="">
</div>
@ -95,7 +95,7 @@
{% endif %}
{% if p.award_count("ricardo") %}
<script src="/assets/js/ricardo.js?v=6"></script>
<script src="/assets/js/ricardo.js?v=7"></script>
<div id="ricardo1" class="ricardo ricardoleft">
<img src="/i/ricardo1.webp">
</div>
@ -1185,14 +1185,14 @@
{% endif %}
{% if p.award_count("shit") %}
<script src="/assets/js/critters.js?v=245"></script>
<script src="/assets/js/critters.js?v=246"></script>
<script src="/assets/js/bugs.js?v=246"></script>
{% endif %}
{% if p.award_count("fireflies") %}
<script src="/assets/js/critters.js?v=245"></script>
<script src="/assets/js/fireflies.js?v=246"></script>
<script src="/assets/js/critters.js?v=246"></script>
<script src="/assets/js/fireflies.js?v=247"></script>
{% endif %}

View File

@ -18,7 +18,7 @@ set CACHE_VER = {
'js/award_modal.js': 253,
'js/bootstrap.js': 265,
'js/comments+submission_listing.js': 261,
'js/emoji_modal.js': 284,
'js/emoji_modal.js': 285,
'js/formatting.js': 240,
'js/header.js': 275,
'js/lottery.js': 256,