Make disablig sticky nav work again (#634)

This commit is contained in:
Jesse Tan authored and Aaron Carlisle committed 2018-05-08 14:23:41 -04:00
1 parent 55536dea2b
commit 45949bf339
1 file changed
+1 -1
+1 -1
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;
}