diff options
author | Joey Hess <joey@kitenet.net> | 2012-08-08 17:07:38 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-08-08 17:07:38 -0400 |
commit | 09449792fa50686e2fb9af6c392b8644dddae5d6 (patch) | |
tree | 52c706411d5f4d8ec4e28081dacabf83353059bb /templates/sidebar/alert.hamlet | |
parent | 94fcd0cf59f94dd29ab171f0875bd25af65fd527 (diff) |
factor out onclick javascript
Diffstat (limited to 'templates/sidebar/alert.hamlet')
-rw-r--r-- | templates/sidebar/alert.hamlet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/sidebar/alert.hamlet b/templates/sidebar/alert.hamlet index 4275931a9..85ff58482 100644 --- a/templates/sidebar/alert.hamlet +++ b/templates/sidebar/alert.hamlet @@ -1,6 +1,6 @@ -<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{closealert}') })( jQuery );"> +<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{CloseAlert i}') })( jQuery );"> $if closable - <a .close data-dismiss="alert">×</a> + <a .close>×</a> $maybe h <- heading $if block <h4 .alert-heading> |