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:
parent
9d9d93805e
commit
95fd862388
|
@ -58,7 +58,7 @@ $(function(){
|
||||||
link = $(this).attr('href');
|
link = $(this).attr('href');
|
||||||
$.getJSON(link, function(data) {
|
$.getJSON(link, function(data) {
|
||||||
$(".modal h3").html(data.title);
|
$(".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');
|
$(".modal").modal('show');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue