Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

Commit

Permalink
fix(Features/Acf): set correct toggle selector after ACF update (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
usingthesystem authored and Doğa Gürdal committed Dec 14, 2017
1 parent e427728 commit 689b580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Features/Acf/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $body
.closestChild('.values')
.children('.layout:not(.-collapsed)')
.children('.acf-fc-layout-controlls')
.find('[data-event="collapse-layout"]')
.find('[data-name="collapse-layout"]')
.click()
)
// expand components
Expand All @@ -19,7 +19,7 @@ $body
.closestChild('.values')
.children('.layout.-collapsed')
.children('.acf-fc-layout-controlls')
.find('[data-event="collapse-layout"]')
.find('[data-name="collapse-layout"]')
.click()
)

Expand Down

0 comments on commit 689b580

Please # to comment.