summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/alert.hamlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/alert.hamlet b/templates/alert.hamlet
index 2d0daf841..bf84482b1 100644
--- a/templates/alert.hamlet
+++ b/templates/alert.hamlet
@@ -1,4 +1,4 @@
-<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid}>
+<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>
$maybe h <- heading