Skip to content

Commit

Permalink
fix: refine your search
Browse files Browse the repository at this point in the history
  • Loading branch information
qwqtw committed Dec 2, 2023
1 parent 20119b3 commit 5ae9bf4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lms/templates/courseware/courses.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,6 @@

% endif

% if course_discovery_enabled:
<aside aria-label="${_('Refine Your Search')}" class="search-facets phone-menu">
<h2 class="header-search-facets">${_('Refine Your Search')}</h2>
<section class="search-facets-lists">
</section>
</aside>
% endif

<!-- Including the 'Inter' font -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet">
Expand Down Expand Up @@ -313,6 +305,14 @@ <h2 class="header-search-facets">${_('Refine Your Search')}</h2>
</ul>
</div>

% if course_discovery_enabled:
<aside aria-label="${_('Refine Your Search')}" class="search-facets phone-menu">
<h2 class="header-search-facets">${_('Refine Your Search')}</h2>
<section class="search-facets-lists">
</section>
</aside>
% endif

<script>
document.addEventListener('DOMContentLoaded', function () {
var searchForm = document.getElementById('discovery-form');
Expand Down

0 comments on commit 5ae9bf4

Please sign in to comment.