mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Display and hide on frontpage only not working
This commit is contained in:
@@ -186,7 +186,14 @@ function submitAndClose(id,title){
|
||||
|
||||
function submit(id,title,type){
|
||||
|
||||
socket.emit("add", [id, title, adminpass]);
|
||||
socket.emit("add", [id, decodeURI(title), adminpass]);
|
||||
if(type){
|
||||
document.getElementById("search").value = "";
|
||||
$("#results").html = "";
|
||||
$(".main").removeClass("blurT");
|
||||
$("#controls").removeClass("blurT");
|
||||
$(".main").removeClass("clickthrough");
|
||||
}
|
||||
/*
|
||||
serverAns = $.ajax({
|
||||
type: "GET",
|
||||
|
||||
Reference in New Issue
Block a user