sol2/sphinx_rtd_theme/static/theme.js
Eric Holscher 92ea8e8540 Remove js since we include it globally now.
Conflicts:

	sphinx_rtd_theme/static/theme.js
2013-10-25 17:42:38 -07:00

18 lines
746 B
JavaScript

/* Comment this because we include this information in our main JS file.
$(document).ready(function() {
// Shift nav in mobile when clicking the menu.
$(document).on('click', "[data-toggle='wy-nav-top']", function() {
$("[data-toggle='wy-nav-shift']").toggleClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
});
// Close menu when you click a link.
$(document).on('click', ".wy-menu-vertical .current ul li a", function() {
$("[data-toggle='wy-nav-shift']").removeClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
});
$(document).on('click', "[data-toggle='rst-current-version']", function() {
$("[data-toggle='rst-versions']").toggleClass("shift-up");
});
});
*/