]> iEval git - app-musicexpo.git/commitdiff
Fix condition in player.js
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 1 Aug 2015 20:59:17 +0000 (23:59 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 1 Aug 2015 20:59:17 +0000 (23:59 +0300)
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.031169 seconds and 4 git commands to generate.