Commit 07ca51c3 by Chris Rodriguez

Accordion HTML cleanup, removing old markup

parent 04ff6370
......@@ -13,10 +13,6 @@ var edx = edx || {},
},
openAccordion: function() {
$('#open_close_accordion a').click();
$('.course-wrapper').removeClass('closed');
$('#accordion').show();
navigation.checkForCurrent();
navigation.listenForClick();
},
......
......@@ -165,9 +165,6 @@ ${fragment.foot_html()}
% if disable_accordion is UNDEFINED or not disable_accordion:
<div class="course-index" role="navigation">
<header id="open_close_accordion">
<a href="#">${_("close")}</a>
</header>
% if settings.FEATURES.get('ENABLE_COURSEWARE_SEARCH'):
<div id="courseware-search-bar" class="search-bar courseware-search-bar" role="search" aria-label="Course">
......@@ -186,7 +183,7 @@ ${fragment.foot_html()}
</div>
% endif
<div id="accordion" style="display: none">
<div id="accordion">
<nav aria-label="${_('Course Navigation')}">
% if accordion.strip():
${accordion}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment