Add prevent default

This commit is contained in:
Sebastien 2018-11-22 01:32:31 +02:00
parent 9359f618da
commit 0a5721ba5b

View File

@ -26,6 +26,9 @@ $(document).ready(function () {
btn_flush = $('#flush_btn'); btn_flush = $('#flush_btn');
btn_add = $('#add_btn'); btn_add = $('#add_btn');
switchAutoFlow = $("#autoflow"); switchAutoFlow = $("#autoflow");
$("form").submit(function(e) {
e.preventDefault();
});
setInterval("getCurentMusic()", 1000); setInterval("getCurentMusic()", 1000);