Skip to content

Commit 05fcefe

Browse files
authored
Modal: Fix deprecated warning and element focus (#1757)
1 parent 6de7d37 commit 05fcefe

File tree

14 files changed

+36
-26
lines changed

14 files changed

+36
-26
lines changed

build/follow-me/view.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('@wordpress/interactivity'), 'version' => '4e975b9656f7ed375094', 'type' => 'module');
1+
<?php return array('dependencies' => array('@wordpress/interactivity'), 'version' => '98b2215b2ba2b12a4251', 'type' => 'module');

build/follow-me/view.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/followers/render.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class="follower-avatar"
135135
<h1 class="screen-reader-text"><?php esc_html_e( 'Follower navigation', 'activitypub' ); ?></h1>
136136
<a
137137
class="pagination-previous"
138-
data-wp-on--click="actions.previousPage"
138+
data-wp-on-async--click="actions.previousPage"
139139
data-wp-bind--aria-disabled="state.disablePreviousLink"
140140
aria-label="<?php esc_attr_e( 'Previous page', 'activitypub' ); ?>"
141141
>
@@ -146,7 +146,7 @@ class="pagination-previous"
146146

147147
<a
148148
class="pagination-next"
149-
data-wp-on--click="actions.nextPage"
149+
data-wp-on-async--click="actions.nextPage"
150150
data-wp-bind--aria-disabled="state.disableNextLink"
151151
aria-label="<?php esc_attr_e( 'Next page', 'activitypub' ); ?>"
152152
>

0 commit comments

Comments
 (0)