1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-11-24 07:44:43 +01:00

Added css to whois modal to handle newlines

This commit is contained in:
İlteriş Eroğlu 2020-04-29 18:52:24 +03:00 committed by Mehdi ABAAKOUK
parent 9d9d93805e
commit 95fd862388

View file

@ -58,7 +58,7 @@ $(function(){
link = $(this).attr('href');
$.getJSON(link, function(data) {
$(".modal h3").html(data.title);
$(".modal .modal-body > p").html(data.output);
$(".modal .modal-body > p").css("white-space", "pre-line").text(data.output);
$(".modal").modal('show');
});
});