remove href

Avoids a reload of the page when closing an alert.
This commit is contained in:
Joey Hess 2012-07-30 15:39:24 -04:00
parent 5469bd6e42
commit 703f24b83e

View file

@ -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="#">&times;</a>
<a .close data-dismiss="alert">&times;</a>
$maybe h <- heading
$if block
<h4 class="alert-heading">#{h}</h4>