1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2025-03-25 21:44:27 +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 GitHub
parent ea451f10f8
commit 98e86d0664
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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');
});
});