Commit 4a807dc2 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Tiny fix: Use callout class of Foundation 6.

parent 70fe52da
......@@ -36,7 +36,8 @@
[%~ END %]
[% IF pitem.comment ~%]
<div id="help.[% ppaths.join('.') %]" class="panel radius">
<div id="help.[% ppaths.join('.') %]"
class="secondary callout" data-closable>
<p>[% pitem.comment.replace('\n', '</p><p>') %]</p>
</div>
[%~ END ~%]
......
......@@ -25,7 +25,7 @@
</label>
[% IF k.comment ~%]
<div id="help.[% ca_id %]" class="panel radius">
<div id="help.[% ca_id %]" class="secondary callout" data-closable>
<p>[% k.comment %]</p>
</div>
[%~ END %]
......
......@@ -621,11 +621,8 @@ $(function() {
});
var closeButton =
$('<a href="#" aria-hidden="true">' + sympa.closeText + '</a>');
closeButton.on('click', function(){
$(selector).slideUp('normal');
return false;
});
$('<a class="close-button" data-close aria-label="'
+ sympa.closeText + '" aria-hidden="true">&times;</a>');
$(selector).append(closeButton);
$(selector).hide();
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment