Skip to content

Commit

Permalink
Merge pull request #2146 from robinboening/fixed_elements_fix
Browse files Browse the repository at this point in the history
fix: call paging on jquery tabs only after initializing them
  • Loading branch information
tvdeyen authored Jul 2, 2021
2 parents 6552f21 + 5bc43e2 commit 2fb104a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/alchemy/alchemy.fixed_elements.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Alchemy.FixedElements = {
$tabs = $(this.TABS.replace(/{{label}}/, label));

$('#main-content-elements').wrap($wrapper);
$('#fixed-elements').prepend($tabs).tabs('paging', {
$('#fixed-elements').prepend($tabs).tabs().tabs('paging', {
follow: true,
followOnSelect: true
});
Expand Down

0 comments on commit 2fb104a

Please sign in to comment.