We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 424b78f commit 1d7fe43Copy full SHA for 1d7fe43
1 file changed
inst/rmd/ioslides/ioslides-13.5.1/js/slide-deck.js
@@ -173,7 +173,7 @@ SlideDeck.prototype.onBodyKeyDown_ = function(e) {
173
// handling keys only when the text input is active or when the up or down
174
// arrow key is pressed (which is used to open the list from the keyboard)
175
var parentNode = e.target.parentNode || e.target; // handle no parent
176
- if (parentNode.classList.contains('selectize-input')) {
+ if (parentNode.classList && parentNode.classList.contains('selectize-input')) {
177
if (parentNode.classList.contains('input-active') || // text input is active
178
(e.keyCode == 38) || (e.keyCode == 40)) // up or down arrow
179
return;
0 commit comments