mirror of
https://github.com/SuperBFG7/ympd
synced 2025-06-29 16:42:52 +00:00
Javascript cleanups
This commit is contained in:
parent
f886128afe
commit
f1b1620b32
@ -320,7 +320,7 @@ $(document).ready(function(){
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
window.addEventListener("hashchange", app.route, false);
|
||||
window.addEventListener('hashchange', app.route, false);
|
||||
});
|
||||
|
||||
function webSocketConnect() {
|
||||
@ -1152,8 +1152,6 @@ $('#trashmodebtns > button').on('click', function(e) {
|
||||
$(this).addClass('active');
|
||||
});
|
||||
|
||||
|
||||
|
||||
$('#search > input').keypress(function (event) {
|
||||
if ( event.which == 13 ) {
|
||||
$('#mainMenu > a').dropdown('toggle');
|
||||
|
Loading…
x
Reference in New Issue
Block a user