Don't check for webkit anymore when enabling WebWorker player
This commit is contained in:
parent
f5a91c680b
commit
62a3ffed92
@ -4,8 +4,7 @@ module AsciicastsHelper
|
||||
if params[:fallback]
|
||||
player_class = "AsciiIo.FallbackPlayer"
|
||||
else
|
||||
player_class = "window.Worker && $.browser.webkit ? " \
|
||||
"AsciiIo.Player : AsciiIo.FallbackPlayer"
|
||||
player_class = "window.Worker ? AsciiIo.Player : AsciiIo.FallbackPlayer"
|
||||
end
|
||||
|
||||
if custom_renderer = params[:renderer]
|
||||
|
Loading…
Reference in New Issue
Block a user