X-Git-Url: http://git.ieval.ro/?p=app-musicexpo.git;a=blobdiff_plain;f=player.js;h=09410120adca07b00a440dd7cd5b284da4a6239a;hp=0b71701d1a4dbeaef006437874d698239b5cb12f;hb=00b6ce9d492d47008f6569744cb8e031c9d04468;hpb=b8e18bed40c5ec5d39b19acc2e380b3efbd4b807 diff --git a/player.js b/player.js index 0b71701..0941012 100644 --- 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";