Oh, drat. I always forget which one is Moz-specific and which isn’t. Thanks.
- Matthew Riley MacPherson | lonelyvegan.com


On November 26, 2013 at 10:19:45 AM, sole (notifications@github.com) wrote:

In www/js/views/app.coffee:

> @@ -45,6 +46,13 @@ define ['zepto', 'underscore', 'backbone', 'brick', 'cs!models/user', 'tpl!templ
>        @trigger 'destroy:modal'
>        $('#full-modal').remove()
>   
> +    # If the "background" of a modal is tapped, we remove that modal.
> +    destroyModal: (event) ->
> +      if event.explicitOriginalTarget.id is 'full-modal'
MDN says that explicitOriginalTarget is Mozilla specific: https://developer.mozilla.org/en-US/docs/Web/API/event.explicitOriginalTarget

—
Reply to this email directly or view it on GitHub.