1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 12:31:58 +02:00

(v1.6.0.9019) website fix

This commit is contained in:
2021-05-05 15:47:39 +02:00
parent 0aca719929
commit 5899678b74
15 changed files with 27 additions and 23 deletions

View File

@ -54,7 +54,9 @@ $(document).ready(function() {
}
// remove leading newline in code examples on changelog
$("body .template-news").html($("body .template-news").html().replaceAll('sourceCode R">\n<span', 'sourceCode R"><span'));
if ($("body .template-news").length > 0) {
$("body .template-news").html($("body .template-news").html().replaceAll('sourceCode R">\n<span', 'sourceCode R"><span'));
}
// PR for 'R for Data Science' on How To pages
if ($(".template-article").length > 0) {