X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=player.js;h=09410120adca07b00a440dd7cd5b284da4a6239a;hb=a535e8790ef7f825c6049e16dff723d9e9b54634;hp=0b71701d1a4dbeaef006437874d698239b5cb12f;hpb=447902f92b2e16faaa6116f8b6c43ea46d044d71;p=app-musicexpo.git 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";