Don't use 'event' in popupClose
It doesn't work on firefox and we don't need it anyway
This commit is contained in:
parent
9023d0ca06
commit
0db4a3a6ca
|
@ -20,7 +20,7 @@ Travis.NotFoundView = Ember.View.extend
|
||||||
name = event?.target?.name || name
|
name = event?.target?.name || name
|
||||||
$("##{name}").toggleClass('display')
|
$("##{name}").toggleClass('display')
|
||||||
popupClose: ->
|
popupClose: ->
|
||||||
$(event.target).closest('.popup').removeClass('display')
|
$('.popup').removeClass('display')
|
||||||
popupCloseAll: ->
|
popupCloseAll: ->
|
||||||
if view = Travis.View.currentPopupView
|
if view = Travis.View.currentPopupView
|
||||||
view.destroy()
|
view.destroy()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user