(v1.6.0.9019) website fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-05-05 15:47:39 +02:00
1 parent 0aca719929
commit 5899678b74
15 files changed
+27 -23

No files matched your search

+3 -1
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) {