diff --git a/docroot/sites/all/modules/contrib/dhtml_menu/dhtml_menu.js b/docroot/sites/all/modules/contrib/dhtml_menu/dhtml_menu.js
index 807c862..259a9c4 100644
--- a/docroot/sites/all/modules/contrib/dhtml_menu/dhtml_menu.js
+++ b/docroot/sites/all/modules/contrib/dhtml_menu/dhtml_menu.js
@@ -174,7 +174,7 @@ Drupal.behaviors.dhtmlMenu = {
     });
 
     // When using LTR, all icons can be shifted as one, as the text width is not relevant.
-    if (settings.nav == 'bullet' && !rtl) {
+    if (settings.nav == 'bullet' && $('.menu li').length  && !rtl) {
       // Shift overlay to the left by the width of the icon and the distance between icon and text.
       var shift = '-' + (Math.ceil(($('.menu li').css('margin-left').replace('px', ''))) + 16) + 'px';
       // Shift the overlay using a negative left-hand offset, and the text using a negative right-hand margin.
