Skip to content

Commit

Permalink
Merge pull request #25 from Archaeology-ABM/tuning-module-page
Browse files Browse the repository at this point in the history
fix js script include v1
  • Loading branch information
Andros-Spica authored Aug 20, 2024
2 parents d3b59b6 + b3c807a commit 7fbc5e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
16 changes: 0 additions & 16 deletions website_generator/generate_source.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,6 @@ extract_names <- function(listOfContributorsData) {
return(lapply(listOfContributorsData, function(x) x$name))
}

# badge_series <- function(x, type = 'badgeDefault') {
# if (length(x) > 0) {
# prefix <- paste0('<span class="badge" id="', type, '">')
# return(paste(prefix, x, '</span>', collapse = '&nbsp;'))
# } else {
# return('')
# }
# }
# badge_series <- function(x, type = 'badgeDefault') {
# if (length(x) > 0) {
# prefix <- paste0('<span class="badge" id="', type, '" onclick="filterByKeyword(\'', x, '\')">')
# return(paste(prefix, x, '</span>', collapse = '&nbsp;'))
# } else {
# return('')
# }
# }
badge_series <- function(x, type = 'badgeDefault') {
if (length(x) > 0) {
prefix <- paste0('<span class="badge" id="', type, '" data-keyword="', x, '">')
Expand Down
2 changes: 1 addition & 1 deletion website_generator/website_source/index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ DT::datatable(nassa_table_print,
```
</div>

<script src='js/selectKeyword.js'></script>
<script src='../js/selectKeyword.js'></script>

<table class='legend'>
<tr>
Expand Down

0 comments on commit 7fbc5e0

Please sign in to comment.