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

Not compatible with never versions of ACF #1

Open
deviationist opened this issue Oct 9, 2019 · 0 comments
Open

Not compatible with never versions of ACF #1

deviationist opened this issue Oct 9, 2019 · 0 comments

Comments

@deviationist
Copy link

deviationist commented Oct 9, 2019

Hey!
I experienced some issues with this, so I fixed it. You might want to use this code instead to have support for newer versions of ACF.

acf.addAction('load', function(){
    jQuery('.acf-row:not(.-collapsed):not(.acf-clone) .acf-icon.-collapse').click();
});
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

No branches or pull requests

1 participant