Commit 9f2b36cf authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Replace line breaks in tooltip by Foundation, because CR/LF will be ignored.

parent 3e49e23b
......@@ -306,3 +306,12 @@ $(function() {
});
});
/* Replace line breaks in tooltip by Foundation (See GH issue #562). */
$(function() {
$('div.tooltip').each(function(){
var tooltip = $(this);
tooltip.html(tooltip.html().replace(/\r\n|\r|\n/g, '<br />'));
return true;
});
});
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