remotes/1693045480750635534/spooky-22
Aevann1 2021-12-01 01:50:00 +02:00
parent 3c9b64e417
commit 86edc811ba
20 changed files with 35 additions and 35 deletions

View File

@ -33,7 +33,7 @@ window.onload = function() {
prevScrollpos = currentScrollPos;
}
});
};
</script>
{% endblock %}

View File

@ -61,7 +61,7 @@ window.onload = function() {
prevScrollpos = currentScrollPos;
}
});
};
</script>
{% endblock %}

View File

@ -24,7 +24,7 @@ window.onload = function() {
}
};
});
};
</script>
<div class="modal fade" id="banModal" tabindex="-1" role="dialog" aria-labelledby="banModalTitle" aria-hidden="true">

View File

@ -35,7 +35,7 @@ window.onload = function() {
document.getElementById("reddot-{{c.id}}").innerHTML = '<i style="color:red !important" class="text-admin fas fa-circle" data-bs-toggle="tooltip" data-bs-placement="bottom" title="" data-bs-original-title="Unread"></i>'
}
});
};
</script>
{% endif %}
@ -55,7 +55,7 @@ window.onload = function() {
{%endif%}
})()
});
};
</script>
<div style="display:none" id="popover-{{c.id}}">
@ -838,7 +838,7 @@ window.onload = function() {
document.getElementById('toast-post-error-text').innerText = "Only logged-in users can vote!";
{% endif %}
}
});
};
const popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));
@ -852,6 +852,6 @@ window.onload = function() {
})
</script>
<script defer src="/assets/js/popover.js?v=7"></script>
<script defer src="/assets/js/popover.js?v=8"></script>
</body>

View File

@ -292,7 +292,7 @@
{% if v and v.agendaposter %}
<script>
window.onload = function() {
window.onload = function() {
var BugDispatch={options:{minDelay:500,maxDelay:1E4,minBugs:2,maxBugs:20,minSpeed:5,maxSpeed:10,maxLargeTurnDeg:150,maxSmallTurnDeg:10,maxWiggleDeg:5,imageSprite:"fly-sprite.webp",bugWidth:13,bugHeight:14,num_frames:5,zoom:10,canFly:!0,canDie:!0,numDeathTypes:3,monitorMouseMovement:!1,eventDistanceToBug:40,minTimeBetweenMultipy:1E3,mouseOver:"random"},initialize:function(a){this.options=mergeOptions(this.options,a);this.options.minBugs>this.options.maxBugs&&(this.options.minBugs=this.options.maxBugs);
this.modes=["multiply","nothing"];this.options.canFly&&this.modes.push("fly","flyoff");this.options.canDie&&this.modes.push("die");-1==this.modes.indexOf(this.options.mouseOver)&&(this.options.mouseOver="random");this.transform=null;this.transforms={Moz:function(a){this.bug.style.MozTransform=a},webkit:function(a){this.bug.style.webkitTransform=a},O:function(a){this.bug.style.OTransform=a},ms:function(a){this.bug.style.msTransform=a},Khtml:function(a){this.bug.style.KhtmlTransform=a},w3c:function(a){this.bug.style.transform=
a}};if("transform"in document.documentElement.style)this.transform=this.transforms.w3c;else{var b=["Moz","webkit","O","ms","Khtml"],c=0;for(c=0;c<b.length;c++)if(b[c]+"Transform"in document.documentElement.style){this.transform=this.transforms[b[c]];break}}if(this.transform){this.bugs=[];b="multiply"===this.options.mouseOver?this.options.minBugs:this.random(this.options.minBugs,this.options.maxBugs,!0);c=0;var d=this;for(c=0;c<b;c++){a=JSON.parse(JSON.stringify(this.options));var e=SpawnBug();a.wingsOpen=
@ -341,7 +341,7 @@ window.onload = function() {
mouseOver: "fly"
});
});
};
</script>
<noscript>
<style>

View File

@ -5,5 +5,5 @@
window.onload = function() {
document.getElementById('twitter-widget-0').setAttribute('sandbox','')
});
};
</script>

View File

@ -5,5 +5,5 @@
window.onload = function() {
document.getElementById('twitter-widget-0').setAttribute('sandbox','')
});
};
</script>

View File

@ -8,7 +8,7 @@ window.onload = function() {
table.removeChild(event.target.parentElement.parentElement);
}
});
};
</script>
<pre>

View File

@ -8,7 +8,7 @@ window.onload = function() {
table.removeChild(event.target.parentElement.parentElement);
}
});
};
</script>
<pre>

View File

@ -9,7 +9,7 @@
{% if not v.fp %}
<script>
window.onload = function() {
window.onload = function() {
function fp(fp) {
var xhr = new XMLHttpRequest();
xhr.open("POST", '{{request.host_url}}fp/'+fp, true);
@ -33,7 +33,7 @@ window.onload = function() {
.then(fp => fp.get())
.then(result => {if (result.visitorId != '{{v.fp}}') fp(result.visitorId);})
});
};
</script>
{% endif %}
{% endif %}
@ -174,7 +174,7 @@ window.onload = function() {
</div>
<script>
window.onload = function() {
window.onload = function() {
if (!("standalone" in window.navigator) && window.navigator.standalone) {
if (window.innerWidth <= 737) {
document.getElementById('mobile-prompt').show()
@ -188,14 +188,14 @@ window.onload = function() {
}
}
});
};
</script>
{% endif %}
{% if v %}
<script defer src="https://js.pusher.com/beams/1.0/push-notifications-cdn.js"></script>
<script>
window.onload = function() {
window.onload = function() {
const beamsClient = new PusherPushNotifications.Client({
instanceId: '02ddcc80-b8db-42be-9022-44c546b4dce6',
});
@ -205,7 +205,7 @@ window.onload = function() {
.then(() => beamsClient.getDeviceInterests())
.catch(console.error);
});
};
</script>
{% endif %}

View File

@ -41,7 +41,7 @@ window.onload = function() {
}
}
});
};
</script>
<div class="row">

View File

@ -46,7 +46,7 @@ window.onload = function() {
document.getElementById("submit-btn").onclick = flip;
});
};
</script>
{% endif %}
</div>

View File

@ -700,7 +700,7 @@ window.onload = function() {
}
}
});
};
</script>
{% include "emoji_modal.html" %}

View File

@ -12,7 +12,7 @@ window.onload = function() {
document.getElementById("emailpasswordRequired").classList.remove("d-none");
});
});
};
</script>
<div class="row">

View File

@ -859,7 +859,7 @@ window.onload = function() {
{%endif%}
})()
});
};
</script>
{% if v and v.id==p.author_id %}
@ -895,7 +895,7 @@ window.onload = function() {
{% endif %}
}
});
};
</script>
{% if v %}
@ -915,7 +915,7 @@ window.onload = function() {
{% set minbugs = 10*p.award_count("shit") if p.award_count("shit") < 3 else 20 %}
{% set maxbugs = 20*p.award_count("shit") if p.award_count("shit") < 3 else 40 %}
<script>
window.onload = function() {
window.onload = function() {
new BugController({
imageSprite: "/assets/images/fly-sprite.webp",
canDie: false,
@ -924,7 +924,7 @@ window.onload = function() {
mouseOver: "multiply"
});
});
};
</script>
{% endif %}
@ -943,7 +943,7 @@ window.onload = function() {
mouseOver: "multiply"
});
});
};
</script>
{% endif %}

View File

@ -77,7 +77,7 @@ window.onload = function() {
{%endif%}
})()
});
};
</script>
{% set ups=p.upvotes %}
@ -688,4 +688,4 @@ window.onload = function() {
{% include "award_modal.html" %}
{% endif %}
<script defer src="/assets/js/popover.js?v=7"></script>
<script defer src="/assets/js/popover.js?v=8"></script>

View File

@ -68,7 +68,7 @@ window.onload = function() {
setTimeout(_ => t.disabled = false, 2000);
}
});
};
</script>
{% endif %}
@ -104,7 +104,7 @@ window.onload = function() {
});
});
};
</script>
{% endif %}

View File

@ -25,7 +25,7 @@ window.onload = function() {
prevScrollpos = currentScrollPos;
}
});
};
</script>
{% endblock %}

View File

@ -25,7 +25,7 @@ window.onload = function() {
prevScrollpos = currentScrollPos;
}
});
};
</script>
{% endblock %}

View File

@ -25,7 +25,7 @@ window.onload = function() {
prevScrollpos = currentScrollPos;
}
});
};
</script>
{% endblock %}