• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed MenuPopupControl don't load extra css

truonglv

Formerly Nobita.Kun
#1
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();
                    }
                }
            );