remove href
Avoids a reload of the page when closing an alert.
This commit is contained in:
parent
5469bd6e42
commit
703f24b83e
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue