summaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-03-18 15:54:11 +0100
committerDaniel Weipert <code@drogueronin.de>2021-03-18 15:54:11 +0100
commit143df0bab5534c3423f60a0062b580ffe26360e7 (patch)
treed276332d14a655e2eaf0af7535d40bfdca7e1511 /src/index.js
parent26a80b7c2d4941abbfd51fd39459ac22612e18d7 (diff)
Fixes custom post type support
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index 2a2623f..265b65a 100644
--- a/src/index.js
+++ b/src/index.js
@@ -37,7 +37,7 @@ import './index.scss';
action: 'update-post-order',
nonce: draggablePostOrder.nonce,
page: $( '#current-page-selector' ).val(),
- perPage: $( '#edit_post_per_page' ).val(),
+ perPage: $( '.screen-per-page' ).val(),
postOrder: $( '#the-list' ).sortable( 'serialize' ),
},
() => {