Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
yutin1987 committed Mar 8, 2013
1 parent c57c8bd commit 3ac20f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/coffee/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $ ->

_gaq.push(['_trackEvent', 'Shake', 'Stop']);

audio.src = "multimedia/harlem_shake." + if navigator.userAgent.indexOf("Firefox")>0 then "ogg" else "m4a";
audio.src = "multimedia/harlem_shake." + if navigator.userAgent.toLowerCase().indexOf(”msie”)>0 then "mp3" else "ogg";
audio.preload = "auto";
audio.addEventListener 'loadeddata', () ->
btnPlay.on('click', play)
Expand Down
2 changes: 1 addition & 1 deletion dev/script/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion script/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3ac20f7

Please sign in to comment.