This commit is contained in:
Jack 2020-06-15 23:25:28 +01:00
parent 85a06798f5
commit 4bc8743eff

View file

@ -1413,6 +1413,16 @@ $("#tagsWrapper").click(e => {
})
$("#tagsWrapper #tagsEdit .button").click(e => {
tagsEdit();
})
$("#tagsWrapper #tagsEdit input").keypress(e => {
if (e.keyCode == 13) {
tagsEdit();
}
})
function tagsEdit(){
let action = $("#tagsWrapper #tagsEdit").attr('action');
let inputVal = $("#tagsWrapper #tagsEdit input").val();
let tagid = $("#tagsWrapper #tagsEdit").attr('tagid');
@ -1476,8 +1486,7 @@ $("#tagsWrapper #tagsEdit .button").click(e => {
}
})
}
})
}
$(document).on("click", "#top .logo", (e) => {
changePage('test');