diff --git a/js/tbl_structure.js b/js/tbl_structure.js index 680f117f22..c7d4103e62 100644 --- a/js/tbl_structure.js +++ b/js/tbl_structure.js @@ -561,7 +561,7 @@ function moreOptsMenuResize() { var $table = $("table#tablestructure"); // don't use More menu if we're only showing icons and no text - if ($table.hasClass("PropertiesIconic")) { + if ($table.length == 0 || $table.hasClass("PropertiesIconic")) { return; }