Commit 7c6678f
committed
Administration: Fix undefined element JS error in pagination handler.
Follow up to [59727]. Handle cases where the `#current-page-selector` is not present on the page to prevent a JS warning.
Props tobiasbg, mamaduka, jorbin, joedolson.
See #62534.
git-svn-id: https://develop.svn.wordpress.org/trunk@59746 602fd350-edb4-49c9-b593-d223f7449a821 parent 0dea78f commit 7c6678f
1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1310 | 1310 | | |
1311 | 1311 | | |
1312 | 1312 | | |
1313 | | - | |
1314 | | - | |
1315 | | - | |
1316 | 1313 | | |
1317 | 1314 | | |
1318 | | - | |
1319 | | - | |
1320 | | - | |
| 1315 | + | |
| 1316 | + | |
1321 | 1317 | | |
1322 | | - | |
| 1318 | + | |
1323 | 1319 | | |
1324 | 1320 | | |
1325 | 1321 | | |
| |||
0 commit comments