Skip to content

Commit

Permalink
chore: do not clone bootstrap for tacc-search-bar (#971)
Browse files Browse the repository at this point in the history
Co-authored-by: Chandra Y <[email protected]>
  • Loading branch information
wesleyboar and chandra-tacc authored Feb 3, 2025
1 parent 65a4cb9 commit 44e2dff
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions server/portal/templates/includes/nav_search.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,8 @@
import * as registerCustomElement from '/static/site_cms/js/modules/registerCustomElement.js';

importHTML.getFromURL('/cms/nav/search/markup/').then(markup => {
/* Load necessary Bootstrap outside raw markup so CMS */
/* FAQ: CMS, Portal, User Guide each use a different Bootstrap file */
/* TODO: After CMS redesign, use only one Bootstrap version (Portal's) */
markup = document.getElementById('css-bootstrap').outerHTML + markup;

registerCustomElement.fromHTMLString(markup, 'tacc-search-bar');

// Populate search field value
populateSearchFieldValueFromURLParams();
});
</script>

0 comments on commit 44e2dff

Please sign in to comment.