Make disablig sticky nav work again (#634)

This commit is contained in:
Jesse Tan
2018-05-08 20:23:41 +02:00
committed by Aaron Carlisle
parent 55536dea2b
commit 45949bf339

View File

@@ -22,7 +22,7 @@ function ThemeNav () {
// out from the RTD assets. This just ensures old projects that are
// calling `enable()` get the sticky menu on by default. All other cals
// to `enable` should include an argument for enabling the sticky menu.
if (typeof(withStickNav) == 'undefined') {
if (typeof(withStickyNav) == 'undefined') {
withStickyNav = true;
}