Skip to content

Commit

Permalink
check for valid language when opening via event
Browse files Browse the repository at this point in the history
  • Loading branch information
benzimmer committed Jun 5, 2018
1 parent f5f6299 commit bf0e76b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/coffee/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ class SubscribeButton
return unless event.detail.id == @options.id
@podcast = event.detail
popupOptions = _.extend(@options, event.detail.options)
@checkForValidLanguage()
@openPopup(popupOptions)

addCss: () ->
Expand Down

0 comments on commit bf0e76b

Please sign in to comment.