Skip to content

Commit

Permalink
chore: do not clone bootstrap for tacc-search-bar (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar authored Sep 20, 2024
1 parent 98796f5 commit 88a388f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions taccsite_cms/templates/nav_search.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@

const template = document.getElementById('s-search-bar').firstElementChild;

{% if settings.TACC_CORE_STYLES_VERSION == 0 %}
/* Load necessary Bootstrap outside raw markup (reason is not documented) */
template.content.prepend(
document.getElementById('css-bootstrap').cloneNode(true)
);
{% endif %}

registerCustomElement.fromTemplate(template, 'tacc-search-bar');
</script>

Expand Down

0 comments on commit 88a388f

Please sign in to comment.