diff --git a/sites/all/modules/dhtml_menu/dhtml_menu.js b/sites/all/modules/dhtml_menu/dhtml_menu.js
index 806a1f6..37ecc89 100644
--- a/sites/all/modules/dhtml_menu/dhtml_menu.js
+++ b/sites/all/modules/dhtml_menu/dhtml_menu.js
@@ -175,9 +175,12 @@ 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) {
       // 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.
-      $('.dhtml-menu-icon').css('left', shift).css('margin-right', shift);
+        if ($('.menu li').hasClass('dhtml-menu')) {
+        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.
+        $('.dhtml-menu-icon').css('left', shift).css('margin-right', shift);
+      }
+
     }
   }
 }
