1
0
mirror of https://github.com/SuperBFG7/ympd synced 2025-06-29 16:42:52 +00:00

Javascript cleanups

This commit is contained in:
jcorporation 2018-06-26 22:12:23 +01:00
parent f886128afe
commit f1b1620b32

View File

@ -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');