Get rid of some old JS.
This commit is contained in:
parent
fdd223d9cf
commit
145db83815
|
@ -351,7 +351,6 @@ function runWebSockets(resume = false) {
|
||||||
notifyOnScriptW("template_alert", (e) => {
|
notifyOnScriptW("template_alert", (e) => {
|
||||||
if(e!=undefined) console.log("failed alert? why?", e)
|
if(e!=undefined) console.log("failed alert? why?", e)
|
||||||
}, () => {
|
}, () => {
|
||||||
//console.log("ha")
|
|
||||||
if(!Template_alert) throw("template function not found");
|
if(!Template_alert) throw("template function not found");
|
||||||
addInitHook("after_phrases", () => {
|
addInitHook("after_phrases", () => {
|
||||||
// TODO: The load part of loadAlerts could be done asynchronously while the update of the DOM could be deferred
|
// 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(){
|
$(".quote_item").click(function(){
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|
Loading…
Reference in New Issue