diff --git a/src/js/spatial-navigation.js b/src/js/spatial-navigation.js index 6cbde34a55..08ca9bcf4c 100644 --- a/src/js/spatial-navigation.js +++ b/src/js/spatial-navigation.js @@ -120,7 +120,8 @@ class SpatialNavigation extends EventTarget { const action = SpatialNavKeyCodes.getEventName(actualEvent); this.performMediaAction_(action); - } else if (SpatialNavKeyCodes.isEventKey(actualEvent, 'Back') && event.target && event.target.closeable()) { + } else if (SpatialNavKeyCodes.isEventKey(actualEvent, 'Back') && + event.target && typeof event.target.closeable === 'function' && event.target.closeable()) { actualEvent.preventDefault(); event.target.close(); }