             o.optimalCrumbHeight = _.max crumbHeights
 
             if o.optimalCrumbHeight isnt o.el.height()
-                o.el
-                    .addClass(o.opts.wrappedClass)
-                    .trigger "compress.#{ pluginName }"
+                o.el.trigger "compress.#{ pluginName }"
 
             if o.windowWidth isnt o.browserWindow.width()
                 if o.browserWindow.width() < o.windowWidth and o.optimalCrumbHeight isnt o.el.height()
-                    o.el
-                        .addClass(o.opts.wrappedClass)
-                        .trigger "compress.#{ pluginName }"
+                    o.el.trigger("compress.#{ pluginName }")
                 else
-                    o.el
-                        .removeClass(o.opts.wrappedClass)
-                        .trigger "decompress.#{ pluginName }"
+                    o.el.trigger("decompress.#{ pluginName }")
 
                 o.windowWidth = o.browserWindow.width()
 


                            # delete the reference since the holder element have been remove already
                            holder = null

                        # trigger the afterDecompress callback
                        o.opts.onAfterDecompress(_this) if $.isFunction(o.opts.onAfterDecompress)

                    # append the hiddenItems in the holder's child ul
                    dropdownList.append hiddenItems

                    # add wrapped class to the element if it does not exist
                    current.addClass(o.opts.wrappedClass) unless current.hasClass(o.opts.wrappedClass)

                    # trigger the afterCompress callback
                    o.opts.onAfterCompress(_this) if $.isFunction(o.opts.onAfterCompress)

