Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
changed: OC: updated pages module customization after enketo-core cha…
Browse files Browse the repository at this point in the history
…nges in previous merged commit
  • Loading branch information
MartijnR committed Jan 22, 2020
1 parent bbafec0 commit 41ea39a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/js/src/module/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ pageModule.setRepeatHandlers = function() {
// except if the new repeat is actually the first page in the form, or contains the first page
if ( event.detail.trigger === 'user' || this.activePages[ 0 ] === event.target || getAncestors( this.activePages[ 0 ], '.or-repeat' ).includes( event.target ) ) {
this.flipToPageContaining( $( event.target ) );
} else {
this._toggleButtons();
}
} );

Expand Down

0 comments on commit 41ea39a

Please sign in to comment.