diff --git a/src/js/_enqueues/wp/updates.js b/src/js/_enqueues/wp/updates.js
index 1e00589cec..d2da73b900 100644
|
a
|
b
|
|
| 970 | 970 | var $form = $( '#bulk-action-form' ), |
| 971 | 971 | $views = $( '.subsubsub' ), |
| 972 | 972 | $pluginRow = $( this ), |
| | 973 | $currentView = $views.find( '[aria-current="page"]' ), |
| | 974 | $itemsCount = $( '.displaying-num' ), |
| 973 | 975 | columnCount = $form.find( 'thead th:not(.hidden), thead td' ).length, |
| 974 | 976 | pluginDeletedRow = wp.template( 'item-deleted-row' ), |
| 975 | 977 | /** |
| … |
… |
|
| 1057 | 1059 | $form.find( '#the-list' ).append( '<tr class="no-items"><td class="colspanchange" colspan="' + columnCount + '">' + __( 'No plugins are currently available.' ) + '</td></tr>' ); |
| 1058 | 1060 | } |
| 1059 | 1061 | } |
| | 1062 | |
| | 1063 | if ( $itemsCount.length && $currentView.length ) { |
| | 1064 | $itemsCount.text( plugins[ $currentView.parent( 'li' ).attr('class') ].length + ' ' + $itemsCount.text().split( ' ' ).slice(2) ); |
| | 1065 | } |
| 1060 | 1066 | } ); |
| 1061 | 1067 | |
| 1062 | 1068 | wp.a11y.speak( _x( 'Deleted!', 'plugin' ) ); |