diff --git a/dashboard-ui/scripts/itemdetailpage.js b/dashboard-ui/scripts/itemdetailpage.js index 8fdb35098e..041dfa6ef2 100644 --- a/dashboard-ui/scripts/itemdetailpage.js +++ b/dashboard-ui/scripts/itemdetailpage.js @@ -493,7 +493,7 @@ function renderTabButtons(page, item) { var elem = $('.tabDetails', page)[0]; - var text = elem.textContent || elem.innerText; + var text = elem.textContent || elem.innerText || ''; if (text.trim()) {