fdsfsd
This commit is contained in:
parent
8982714e9b
commit
2b05937e69
21 changed files with 36 additions and 36 deletions
|
@ -33,4 +33,4 @@ window.onload = function() {
|
|||
usernames.forEach(eventasdf);
|
||||
|
||||
document.addEventListener("click", function(e){dfgh(e)});
|
||||
});
|
||||
};
|
|
@ -33,7 +33,7 @@ window.onload = function() {
|
|||
prevScrollpos = currentScrollPos;
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ window.onload = function() {
|
|||
prevScrollpos = currentScrollPos;
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ window.onload = function() {
|
|||
}
|
||||
};
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
||||
<div class="modal fade" id="banModal" tabindex="-1" role="dialog" aria-labelledby="banModalTitle" aria-hidden="true">
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
window.onload = function() {
|
||||
document.getElementById('twitter-widget-0').setAttribute('sandbox','')
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
|
@ -5,5 +5,5 @@
|
|||
window.onload = function() {
|
||||
document.getElementById('twitter-widget-0').setAttribute('sandbox','')
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
|
@ -8,7 +8,7 @@ window.onload = function() {
|
|||
table.removeChild(event.target.parentElement.parentElement);
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
<pre>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ window.onload = function() {
|
|||
table.removeChild(event.target.parentElement.parentElement);
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
<pre>
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ window.onload = function() {
|
|||
}
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
||||
<div class="row">
|
||||
|
|
|
@ -46,7 +46,7 @@ window.onload = function() {
|
|||
|
||||
document.getElementById("submit-btn").onclick = flip;
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
@ -700,7 +700,7 @@ window.onload = function() {
|
|||
}
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
||||
{% include "emoji_modal.html" %}
|
||||
|
|
|
@ -12,7 +12,7 @@ window.onload = function() {
|
|||
document.getElementById("emailpasswordRequired").classList.remove("d-none");
|
||||
});
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
||||
<div class="row">
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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>
|
|
@ -68,7 +68,7 @@ window.onload = function() {
|
|||
setTimeout(_ => t.disabled = false, 2000);
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
|
@ -104,7 +104,7 @@ window.onload = function() {
|
|||
|
||||
});
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ window.onload = function() {
|
|||
prevScrollpos = currentScrollPos;
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ window.onload = function() {
|
|||
prevScrollpos = currentScrollPos;
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ window.onload = function() {
|
|||
prevScrollpos = currentScrollPos;
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue