Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: do not clone bootstrap for tacc-search-bar #971

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Loading