diff --git a/src/js/spatial-navigation.js b/src/js/spatial-navigation.js index dacb5e75a1..0eb627f890 100644 --- a/src/js/spatial-navigation.js +++ b/src/js/spatial-navigation.js @@ -118,7 +118,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(); }