Fixed two bugs with the CLA.

This commit is contained in:
Nick Winter 2014-01-05 15:07:30 -08:00
parent b4b8d95424
commit 1185731fd0
2 changed files with 6 additions and 6 deletions
app
templates
views/kinds

View file

@ -82,7 +82,7 @@
hr
if me.get('anonymous')
p
h1
| Either
a(data-toggle="coco-modal", data-target="modal/signup", data-i18n="nav.sign_up") create an account
| or

View file

@ -86,7 +86,7 @@ module.exports = class CocoView extends Backbone.View
# Modals
toggleModal: (e) ->
if $(event.currentTarget).prop('target') is '_blank'
if $(e.currentTarget).prop('target') is '_blank'
return true
# special handler for opening modals that are dynamically loaded, rather than static in the page. It works (or should work) like Bootstrap's modals, except use coco-modal for the data-toggle value.
elem = $(e.target)