Commit 9e1e7be5 by Jan Gaedicke

replace linebreaks with <br/> in data section of tooltip.

parent 18e0a60b
......@@ -135,7 +135,7 @@ define([
}
tooltip += '<i>' + moment(options.time).format('YYYY-MM-DD HH:mm:ss') + '</i><br/>';
if (options.data) {
tooltip += options.data;
tooltip += options.data.replace(/\n/g, '<br/>');
}
tooltip += "</small>";
......
Markdown is supported
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