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

Lack of Interest Responsive: search for .tabLinks inside #navigation, not for .blockLinksList inside .navTab

Discussion in 'Closed Suggestions' started by CyberAP, Jul 24, 2013.

  1. CyberAP

    CyberAP Well-Known Member

    As follows from this code in xenforo.js:

    Code:
    var $linksList = $('#navigation').find('.navTab.selected .blockLinksList');
    JS searches for .blockLinksList in .navTab.selected. Sometimes you have to move .tabLinks to another place and that code doesn't work.

    We can change it to this and it will work the same way, but also with support for custom styles.

    Code:
    var $linksList = $('#navigation').find('.tabLinks');
     
    RoldanLT likes this.
  2. CyberAP

    CyberAP Well-Known Member

    The same thing appeals to .visitorTabs. There are lots of styles with .visitorTabs moved into #moderatorBar.
     

Share This Page