Fix condition in player.js
[app-musicexpo.git] / player.js
index 0b71701d1a4dbeaef006437874d698239b5cb12f..09410120adca07b00a440dd7cd5b284da4a6239a 100644 (file)
--- a/player.js
+++ b/player.js
@@ -39,7 +39,7 @@ function play_random () {
 }
 
 function handle_hash(){
-       if(!hash_to_id[location.hash] || inhibit_handle_hash)
+       if(!hash_to_id.hasOwnProperty(location.hash) || inhibit_handle_hash)
                return;
        load_song(hash_to_id[location.hash]);
        start.innerHTML = "Next";
This page took 0.009394 seconds and 4 git commands to generate.