mirror of https://gitlab.crans.org/bde/nk20
Clear note selector once a consumption is performed
This commit is contained in:
parent
374e6ed7f8
commit
ef1e805538
|
@ -156,8 +156,8 @@ function reset() {
|
||||||
buttons.length = 0;
|
buttons.length = 0;
|
||||||
$("#note_list").html("");
|
$("#note_list").html("");
|
||||||
$("#consos_list").html("");
|
$("#consos_list").html("");
|
||||||
$("#user_note").text("");
|
$("#note").val("");
|
||||||
$("#user_note").attr("data-original-title", "").tooltip("hide");
|
$("#note").attr("data-original-title", "").tooltip("hide");
|
||||||
$("#profile_pic").attr("src", "/media/pic/default.png");
|
$("#profile_pic").attr("src", "/media/pic/default.png");
|
||||||
$("#profile_pic_link").attr("href", "#");
|
$("#profile_pic_link").attr("href", "#");
|
||||||
refreshHistory();
|
refreshHistory();
|
||||||
|
|
Loading…
Reference in New Issue