Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update selector function #43

Closed
wants to merge 1 commit into from
Closed

Conversation

AMunkAT
Copy link

@AMunkAT AMunkAT commented Aug 6, 2014

Change prev() to prevAll() to get correct Unordered List.

We have a code like

  • Link1
    ...
  • Just after the .submenucontent mean menu add the .mean-expand link
    In js I found jQuery(this).prev('ul').slideDown() - but there is no prev('ul') because of the submenucontent - with prevAll('ul') I am able to select the unordered list

    Change prev() to prevAll() to get correct Unordered List.
    
    We have a code like
    
    <li><a href="#">Link1</a>
        <ul>
            <li><a href="#">Sublink1</a></li>
       </ul>
       <div class="submenucontent">...</div>
    </li>
    
    Just after the .submenucontent mean menu add the .mean-expand link
    In js I found jQuery(this).prev('ul').slideDown() - but there is no prev('ul') because of the submenucontent - with prevAll('ul') I am able to select the unordered list
    @meanthemes
    Copy link
    Owner

    I'm not quite sure what you mean here, could you provide an example please?

    @meanthemes
    Copy link
    Owner

    Closing this one down as no response.

    @meanthemes meanthemes closed this Aug 24, 2014
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    None yet

    2 participants