sdf
This commit is contained in:
parent
0e20264938
commit
f65e863d25
25 changed files with 381 additions and 435 deletions
|
@ -15,7 +15,6 @@ function collapse_comment(comment_id) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
var clipboard = new ClipboardJS('.copy-link');
|
var clipboard = new ClipboardJS('.copy-link');
|
||||||
clipboard.on('success', function(e) {
|
clipboard.on('success', function(e) {
|
||||||
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
||||||
|
@ -32,4 +31,3 @@ window.addEventListener("load",function(event) {
|
||||||
html: true,
|
html: true,
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
});
|
|
|
@ -1,4 +1,3 @@
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
var prevScrollpos = window.pageYOffset;
|
var prevScrollpos = window.pageYOffset;
|
||||||
window.onscroll = function () {
|
window.onscroll = function () {
|
||||||
var currentScrollPos = window.pageYOffset;
|
var currentScrollPos = window.pageYOffset;
|
||||||
|
@ -43,4 +42,3 @@ window.addEventListener("load",function(event) {
|
||||||
}
|
}
|
||||||
prevScrollpos = currentScrollPos;
|
prevScrollpos = currentScrollPos;
|
||||||
}
|
}
|
||||||
})
|
|
|
@ -1,4 +1,3 @@
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
function eventasdf(value){
|
function eventasdf(value){
|
||||||
var content_id = value.getAttributeNode("data-content-id").value;
|
var content_id = value.getAttributeNode("data-content-id").value;
|
||||||
value.addEventListener("click", function(){jhkj(content_id)});
|
value.addEventListener("click", function(){jhkj(content_id)});
|
||||||
|
@ -34,4 +33,3 @@ window.addEventListener("load",function(event) {
|
||||||
usernames.forEach(eventasdf);
|
usernames.forEach(eventasdf);
|
||||||
|
|
||||||
document.addEventListener("click", function(e){dfgh(e)});
|
document.addEventListener("click", function(e){dfgh(e)});
|
||||||
});
|
|
|
@ -9,7 +9,6 @@ function expandText(id) {
|
||||||
document.getElementsByClassName('text-expand-icon-'+id)[0].classList.toggle('fa-compress-alt');
|
document.getElementsByClassName('text-expand-icon-'+id)[0].classList.toggle('fa-compress-alt');
|
||||||
};
|
};
|
||||||
|
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
var clipboard = new ClipboardJS('.copy-link');
|
var clipboard = new ClipboardJS('.copy-link');
|
||||||
clipboard.on('success', function(e) {
|
clipboard.on('success', function(e) {
|
||||||
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
||||||
|
@ -26,4 +25,3 @@ window.addEventListener("load",function(event) {
|
||||||
html: true,
|
html: true,
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
});
|
|
|
@ -12,7 +12,6 @@
|
||||||
|
|
||||||
{% block fixedMobileBarJS %}
|
{% block fixedMobileBarJS %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
var prevScrollpos = window.pageYOffset;
|
var prevScrollpos = window.pageYOffset;
|
||||||
window.onscroll = function () {
|
window.onscroll = function () {
|
||||||
var currentScrollPos = window.pageYOffset;
|
var currentScrollPos = window.pageYOffset;
|
||||||
|
@ -32,7 +31,6 @@
|
||||||
}
|
}
|
||||||
prevScrollpos = currentScrollPos;
|
prevScrollpos = currentScrollPos;
|
||||||
}
|
}
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
|
|
||||||
{% block fixedMobileBarJS %}
|
{% block fixedMobileBarJS %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
var prevScrollpos = window.pageYOffset;
|
var prevScrollpos = window.pageYOffset;
|
||||||
window.onscroll = function () {
|
window.onscroll = function () {
|
||||||
var currentScrollPos = window.pageYOffset;
|
var currentScrollPos = window.pageYOffset;
|
||||||
|
@ -60,7 +59,6 @@
|
||||||
}
|
}
|
||||||
prevScrollpos = currentScrollPos;
|
prevScrollpos = currentScrollPos;
|
||||||
}
|
}
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -760,12 +760,10 @@
|
||||||
|
|
||||||
{% include "expanded_image_modal.html" %}
|
{% include "expanded_image_modal.html" %}
|
||||||
|
|
||||||
<script src="/assets/js/popover.js?v=9"></script>
|
<script src="/assets/js/popover.js?v=10"></script>
|
||||||
<script src="/assets/js/comments.js?v=7"></script>
|
<script src="/assets/js/comments.js?v=8"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
|
|
||||||
{% if p and (not v or v.highlightcomments) %}
|
{% if p and (not v or v.highlightcomments) %}
|
||||||
comments = JSON.parse(localStorage.getItem("comment-counts")) || {}
|
comments = JSON.parse(localStorage.getItem("comment-counts")) || {}
|
||||||
lastCount = comments['{{p.id}}']
|
lastCount = comments['{{p.id}}']
|
||||||
|
@ -792,7 +790,6 @@
|
||||||
{%endif%}
|
{%endif%}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
})()
|
})()
|
||||||
});
|
|
||||||
|
|
||||||
{% if not v %}
|
{% if not v %}
|
||||||
function poll_vote(cid, parentid) {
|
function poll_vote(cid, parentid) {
|
||||||
|
|
|
@ -288,7 +288,6 @@
|
||||||
|
|
||||||
{% if v and v.agendaposter %}
|
{% if v and v.agendaposter %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
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);
|
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=
|
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=
|
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=
|
||||||
|
@ -336,7 +335,6 @@
|
||||||
maxBugs: 1,
|
maxBugs: 1,
|
||||||
mouseOver: "fly"
|
mouseOver: "fly"
|
||||||
});
|
});
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
<noscript>
|
<noscript>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -2,7 +2,5 @@
|
||||||
<script src="/assets/js/twitter.js" charset="utf-8">
|
<script src="/assets/js/twitter.js" charset="utf-8">
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
document.getElementById('twitter-widget-0').setAttribute('sandbox','')
|
document.getElementById('twitter-widget-0').setAttribute('sandbox','')
|
||||||
};
|
|
||||||
</script>
|
</script>
|
|
@ -2,7 +2,5 @@
|
||||||
<script src="https://platform.twitter.com/widgets.js" charset="utf-8">
|
<script src="https://platform.twitter.com/widgets.js" charset="utf-8">
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
document.getElementById('twitter-widget-0').setAttribute('sandbox','')
|
document.getElementById('twitter-widget-0').setAttribute('sandbox','')
|
||||||
});
|
|
||||||
</script>
|
</script>
|
|
@ -1,13 +1,11 @@
|
||||||
{% extends "default.html" %}
|
{% extends "default.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
function removeFollower(event, username) {
|
function removeFollower(event, username) {
|
||||||
post_toast('/remove_follow/' + username);
|
post_toast('/remove_follow/' + username);
|
||||||
let table = document.getElementById("followers-table");
|
let table = document.getElementById("followers-table");
|
||||||
table.removeChild(event.target.parentElement.parentElement);
|
table.removeChild(event.target.parentElement.parentElement);
|
||||||
}
|
}
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
<pre>
|
<pre>
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
{% extends "default.html" %}
|
{% extends "default.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
function removeFollower(event, username) {
|
function removeFollower(event, username) {
|
||||||
post_toast('/unfollow/' + username);
|
post_toast('/unfollow/' + username);
|
||||||
let table = document.getElementById("followers-table");
|
let table = document.getElementById("followers-table");
|
||||||
table.removeChild(event.target.parentElement.parentElement);
|
table.removeChild(event.target.parentElement.parentElement);
|
||||||
}
|
}
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
<pre>
|
<pre>
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
{% if not v.fp %}
|
{% if not v.fp %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
function fp(fp) {
|
function fp(fp) {
|
||||||
var xhr = new XMLHttpRequest();
|
var xhr = new XMLHttpRequest();
|
||||||
xhr.open("POST", '{{request.host_url}}fp/'+fp, true);
|
xhr.open("POST", '{{request.host_url}}fp/'+fp, true);
|
||||||
|
@ -32,7 +31,6 @@
|
||||||
fpPromise
|
fpPromise
|
||||||
.then(fp => fp.get())
|
.then(fp => fp.get())
|
||||||
.then(result => {if (result.visitorId != '{{v.fp}}') fp(result.visitorId);})
|
.then(result => {if (result.visitorId != '{{v.fp}}') fp(result.visitorId);})
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -173,7 +171,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
if (!("standalone" in window.navigator) && window.navigator.standalone) {
|
if (!("standalone" in window.navigator) && window.navigator.standalone) {
|
||||||
if (window.innerWidth <= 737) {
|
if (window.innerWidth <= 737) {
|
||||||
document.getElementById('mobile-prompt').show()
|
document.getElementById('mobile-prompt').show()
|
||||||
|
@ -186,14 +183,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if v %}
|
{% if v %}
|
||||||
<script src="https://js.pusher.com/beams/1.0/push-notifications-cdn.js"></script>
|
<script src="https://js.pusher.com/beams/1.0/push-notifications-cdn.js"></script>
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
const beamsClient = new PusherPushNotifications.Client({
|
const beamsClient = new PusherPushNotifications.Client({
|
||||||
instanceId: '02ddcc80-b8db-42be-9022-44c546b4dce6',
|
instanceId: '02ddcc80-b8db-42be-9022-44c546b4dce6',
|
||||||
});
|
});
|
||||||
|
@ -202,7 +197,6 @@
|
||||||
.then(() => beamsClient.addDeviceInterest('{{v.strid}}'))
|
.then(() => beamsClient.addDeviceInterest('{{v.strid}}'))
|
||||||
.then(() => beamsClient.getDeviceInterests())
|
.then(() => beamsClient.getDeviceInterests())
|
||||||
.catch(console.error);
|
.catch(console.error);
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -125,13 +125,11 @@
|
||||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
var clipboard = new ClipboardJS('.copy-link');
|
var clipboard = new ClipboardJS('.copy-link');
|
||||||
clipboard.on('success', function(e) {
|
clipboard.on('success', function(e) {
|
||||||
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
||||||
myToast.show();
|
myToast.show();
|
||||||
});
|
});
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
|
@ -68,7 +68,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/assets/js/mobile_navigation_bar.js?v=54"></script>
|
<script src="/assets/js/mobile_navigation_bar.js?v=55"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.btn-dead:hover, .active.btn-dead:hover, .active.btn-dead {
|
.btn-dead:hover, .active.btn-dead:hover, .active.btn-dead {
|
||||||
|
|
|
@ -243,13 +243,11 @@
|
||||||
<script>
|
<script>
|
||||||
function formkey() {return '{{v.formkey}}';}
|
function formkey() {return '{{v.formkey}}';}
|
||||||
|
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
var clipboard = new ClipboardJS('.copy-link');
|
var clipboard = new ClipboardJS('.copy-link');
|
||||||
clipboard.on('success', function(e) {
|
clipboard.on('success', function(e) {
|
||||||
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
||||||
myToast.show();
|
myToast.show();
|
||||||
});
|
});
|
||||||
});
|
|
||||||
|
|
||||||
function emailVerifyText() {
|
function emailVerifyText() {
|
||||||
document.getElementById("email-verify-text").innerHTML = "Verification email sent! Please check your inbox.";
|
document.getElementById("email-verify-text").innerHTML = "Verification email sent! Please check your inbox.";
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
block_user=function() {
|
block_user=function() {
|
||||||
|
|
||||||
var exileForm = document.getElementById("exile-form");
|
var exileForm = document.getElementById("exile-form");
|
||||||
|
@ -40,7 +39,6 @@
|
||||||
xhr.send(f)
|
xhr.send(f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -38,15 +38,12 @@
|
||||||
</div>
|
</div>
|
||||||
{% if v.agendaposter %}
|
{% if v.agendaposter %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
const flip = (e) => {
|
const flip = (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
document.getElementsByTagName("body")[0].setAttribute("style", "-moz-transform: scale(-1, -1);-o-transform: scale(-1, -1);-webkit-transform: scale(-1, -1);transform: scale(-1, -1);");
|
document.getElementsByTagName("body")[0].setAttribute("style", "-moz-transform: scale(-1, -1);-o-transform: scale(-1, -1);-webkit-transform: scale(-1, -1);transform: scale(-1, -1);");
|
||||||
};
|
};
|
||||||
|
|
||||||
document.getElementById("submit-btn").onclick = flip;
|
document.getElementById("submit-btn").onclick = flip;
|
||||||
|
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -685,7 +685,6 @@
|
||||||
<script src="/assets/js/settings_profile.js?v=58"></script>
|
<script src="/assets/js/settings_profile.js?v=58"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
document.onpaste = function(event) {
|
document.onpaste = function(event) {
|
||||||
var focused = document.activeElement;
|
var focused = document.activeElement;
|
||||||
if (focused.id == 'bio-text') {
|
if (focused.id == 'bio-text') {
|
||||||
|
@ -699,7 +698,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% include "emoji_modal.html" %}
|
{% include "emoji_modal.html" %}
|
||||||
|
|
|
@ -5,13 +5,11 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
document.getElementById('new_email').addEventListener('input', function () {
|
document.getElementById('new_email').addEventListener('input', function () {
|
||||||
document.getElementById("email-password").classList.remove("d-none");
|
document.getElementById("email-password").classList.remove("d-none");
|
||||||
document.getElementById("email-password-label").classList.remove("d-none");
|
document.getElementById("email-password-label").classList.remove("d-none");
|
||||||
document.getElementById("emailpasswordRequired").classList.remove("d-none");
|
document.getElementById("emailpasswordRequired").classList.remove("d-none");
|
||||||
});
|
});
|
||||||
});
|
|
||||||
const twoStepModal = new bootstrap.Modal(document.getElementById('2faModal'))
|
const twoStepModal = new bootstrap.Modal(document.getElementById('2faModal'))
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
(() => {
|
(() => {
|
||||||
{% if (not v or v.highlightcomments) %}
|
{% if (not v or v.highlightcomments) %}
|
||||||
showNewCommentCounts('{{p.id}}', {{p.comment_count}})
|
showNewCommentCounts('{{p.id}}', {{p.comment_count}})
|
||||||
|
@ -73,7 +72,6 @@
|
||||||
{%endif%}
|
{%endif%}
|
||||||
{%endif%}
|
{%endif%}
|
||||||
})()
|
})()
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% set ups=p.upvotes %}
|
{% set ups=p.upvotes %}
|
||||||
|
@ -657,5 +655,5 @@
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
|
||||||
|
|
||||||
<script src="/assets/js/popover.js?v=9"></script>
|
<script src="/assets/js/popover.js?v=10"></script>
|
||||||
<script src="/assets/js/submission_listing.js?v=4"></script>
|
<script src="/assets/js/submission_listing.js?v=5"></script>
|
|
@ -71,7 +71,6 @@
|
||||||
|
|
||||||
{% if u.song %}
|
{% if u.song %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
var audio = new Audio('/songs/{{u.id}}');
|
var audio = new Audio('/songs/{{u.id}}');
|
||||||
audio.loop=true;
|
audio.loop=true;
|
||||||
|
|
||||||
|
@ -97,7 +96,6 @@
|
||||||
document.getElementById('userpage').addEventListener('click', () => {
|
document.getElementById('userpage').addEventListener('click', () => {
|
||||||
if (audio.paused) audio.play();
|
if (audio.paused) audio.play();
|
||||||
}, {once : true});
|
}, {once : true});
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
{% block fixedMobileBarJS %}
|
{% block fixedMobileBarJS %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
var prevScrollpos = window.pageYOffset;
|
var prevScrollpos = window.pageYOffset;
|
||||||
window.onscroll = function () {
|
window.onscroll = function () {
|
||||||
var currentScrollPos = window.pageYOffset;
|
var currentScrollPos = window.pageYOffset;
|
||||||
|
@ -24,7 +23,6 @@
|
||||||
}
|
}
|
||||||
prevScrollpos = currentScrollPos;
|
prevScrollpos = currentScrollPos;
|
||||||
}
|
}
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
{% block fixedMobileBarJS %}
|
{% block fixedMobileBarJS %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
var prevScrollpos = window.pageYOffset;
|
var prevScrollpos = window.pageYOffset;
|
||||||
window.onscroll = function () {
|
window.onscroll = function () {
|
||||||
var currentScrollPos = window.pageYOffset;
|
var currentScrollPos = window.pageYOffset;
|
||||||
|
@ -24,7 +23,6 @@
|
||||||
}
|
}
|
||||||
prevScrollpos = currentScrollPos;
|
prevScrollpos = currentScrollPos;
|
||||||
}
|
}
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
{% block fixedMobileBarJS %}
|
{% block fixedMobileBarJS %}
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener("load",function(event) {
|
|
||||||
var prevScrollpos = window.pageYOffset;
|
var prevScrollpos = window.pageYOffset;
|
||||||
window.onscroll = function () {
|
window.onscroll = function () {
|
||||||
var currentScrollPos = window.pageYOffset;
|
var currentScrollPos = window.pageYOffset;
|
||||||
|
@ -24,7 +23,6 @@
|
||||||
}
|
}
|
||||||
prevScrollpos = currentScrollPos;
|
prevScrollpos = currentScrollPos;
|
||||||
}
|
}
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue