From: Marius Gavrilescu Date: Sat, 1 Aug 2015 20:59:17 +0000 (+0300) Subject: Fix condition in player.js X-Git-Tag: 1.000~7 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=00b6ce9d492d47008f6569744cb8e031c9d04468;p=app-musicexpo.git Fix condition in player.js --- 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";