Skip to content

Commit

Permalink
Merge branch 'develop' into release/5.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeelia authored Dec 11, 2024
2 parents 462ccb8 + 32bb0f5 commit 9c2149a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/ordering/pointers.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export class Pointers extends Component {

items.forEach((item, index) => {
// Reordering an existing pointer or adding a default post to the pointers array
if (item.order || item.ID === result.draggableId) {
if (item.order || Number(item.ID) === Number(result.draggableId)) {
pointers.push({
ID: item.ID,
order: index + 1,
Expand Down

0 comments on commit 9c2149a

Please sign in to comment.