Resole auto refresh bug for search
This commit is contained in:
parent
0a5721ba5b
commit
f206bb5177
@ -26,9 +26,7 @@ $(document).ready(function () {
|
||||
btn_flush = $('#flush_btn');
|
||||
btn_add = $('#add_btn');
|
||||
switchAutoFlow = $("#autoflow");
|
||||
$("form").submit(function(e) {
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
|
||||
setInterval("getCurentMusic()", 1000);
|
||||
|
||||
@ -512,6 +510,10 @@ function listeners() {
|
||||
});
|
||||
|
||||
$('#btn_search').click(search);
|
||||
$("form").submit(function(e) {
|
||||
e.preventDefault();
|
||||
search();
|
||||
});
|
||||
|
||||
$('#btn_next').click(function () {
|
||||
sendCommand({command: "NEXT"});
|
||||
|
@ -193,7 +193,7 @@
|
||||
<label for="input_search">Search</label>
|
||||
</div>
|
||||
<div class="input-field col l2 m2 s2" style="margin-top: 22px">
|
||||
<button class="btn waves-effect waves-light green darken-4 white-text" id="btn_search"><i class="material-icons">search</i></button>
|
||||
<button class="btn waves-effect waves-light green darken-4 white-text" id="btn_search" type="button"><i class="material-icons">search</i></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user