Fixed MenuPopupControl don't load extra css

truonglv

Well-known member
Hi. I have used the MenuPopup in navigation bar then call to custom template. The result doesn't loading extra css. By this line:

Code:
$templateHtml.xfInsert(
                this.$menu.data('insertfn') || 'appendTo',
                this.contentDest,
                'slideDown', 0,
                function()
                {
                    self.$menu.css('min-width', '199px');
                    setTimeout(function() {
                        self.$menu.css('min-width', '');
                    }, 0);
                    if (self.$control.hasClass('PopupOpen'))
                    {
                        self.menuShown();
                    }
                }
            );
 
Top Bottom