|
|
@ -52,8 +52,6 @@ class NavigationHandler { |
|
|
|
this.navigationHammers = []; |
|
|
|
} |
|
|
|
|
|
|
|
this._navigationReleaseOverload = function() {}; |
|
|
|
|
|
|
|
// clean up previous navigation items
|
|
|
|
if (this.navigationDOM && this.navigationDOM['wrapper'] && this.navigationDOM['wrapper'].parentNode) { |
|
|
|
this.navigationDOM['wrapper'].parentNode.removeChild(this.navigationDOM['wrapper']); |
|
|
@ -160,7 +158,6 @@ class NavigationHandler { |
|
|
|
} |
|
|
|
|
|
|
|
if (this.options.keyboard.enabled === true) { |
|
|
|
|
|
|
|
if (this.options.keyboard.bindToWindow === true) { |
|
|
|
this.keycharm = keycharm({container: window, preventDefault: true}); |
|
|
|
} |
|
|
|