Get rid of some old JS.

This commit is contained in:
Azareal 2019-06-04 15:53:40 +10:00
parent fdd223d9cf
commit 145db83815
1 changed files with 0 additions and 14 deletions

View File

@ -351,7 +351,6 @@ function runWebSockets(resume = false) {
notifyOnScriptW("template_alert", (e) => {
if(e!=undefined) console.log("failed alert? why?", e)
}, () => {
//console.log("ha")
if(!Template_alert) throw("template function not found");
addInitHook("after_phrases", () => {
// TODO: The load part of loadAlerts could be done asynchronously while the update of the DOM could be deferred
@ -800,19 +799,6 @@ function mainInit(){
});
});
// This one's for Tempra Conflux
// TODO: We might want to use pure JS here
/*$(".ip_item").each(function(){
var ip = this.textContent;
if(ip.length > 10){
this.innerHTML = "Show IP";
this.onclick = function(event) {
event.preventDefault();
this.textContent = ip;
};
}
});*/
$(".quote_item").click(function(){
event.preventDefault();
event.stopPropagation();