diff options
author | Joey Hess <joey@kitenet.net> | 2012-07-30 15:39:24 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-07-30 15:39:24 -0400 |
commit | 703f24b83e1788955bf0a35525dc16fb2dbfb39a (patch) | |
tree | 238f1f14c3d4a0fc947ebaf36ddbbb16671754e2 | |
parent | 5469bd6e427ea09e6dea2137f40da74d16f9a0a2 (diff) |
remove href
Avoids a reload of the page when closing an alert.
-rw-r--r-- | templates/alert.hamlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/alert.hamlet b/templates/alert.hamlet index bf84482b1..8fa77eac1 100644 --- a/templates/alert.hamlet +++ b/templates/alert.hamlet @@ -1,6 +1,6 @@ <div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{closealert}') })( jQuery );"> $if closable - <a .close data-dismiss="alert" href="#">×</a> + <a .close data-dismiss="alert">×</a> $maybe h <- heading $if block <h4 class="alert-heading">#{h}</h4> |