Skip to content

Commit

Permalink
Applied fix for mickey#28 from timonbandit/master (1683026)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkirman committed Nov 28, 2016
1 parent aca7a58 commit c6ae13d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/videojs.ga.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
videojs.plugin 'ga', (options = {}) ->
# this loads options from the data-setup attribute of the video tag
dataSetupOptions = {}
if @options()["data-setup"]
parsedOptions = JSON.parse(@options()["data-setup"])
if @options_["data-setup"]
parsedOptions = JSON.parse(@options_["data-setup"])
dataSetupOptions = parsedOptions.ga if parsedOptions.ga

defaultsEventsToTrack = [
Expand Down

0 comments on commit c6ae13d

Please sign in to comment.