diff --git a/dashboard-ui/bower_components/emby-webcomponents/itemhovermenu/itemhovermenu.js b/dashboard-ui/bower_components/emby-webcomponents/itemhovermenu/itemhovermenu.js index c13168ab0d..81b90a0c26 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/itemhovermenu/itemhovermenu.js +++ b/dashboard-ui/bower_components/emby-webcomponents/itemhovermenu/itemhovermenu.js @@ -173,6 +173,10 @@ var dataElement = dom.parentWithAttribute(elem, 'data-id'); + if (!dataElement) { + return; + } + var id = dataElement.getAttribute('data-id'); var type = dataElement.getAttribute('data-type'); diff --git a/dashboard-ui/itemdetails.html b/dashboard-ui/itemdetails.html index 97ad467dd3..085955278e 100644 --- a/dashboard-ui/itemdetails.html +++ b/dashboard-ui/itemdetails.html @@ -74,7 +74,7 @@