Changeset 10453
- Timestamp:
- 11/18/2020 05:52:35 PM (4 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/js/page-download.js
r9374 r10453 1 1 ( function( $ ) { 2 jQuery('#download-wordpress').click( function(e) {2 $('#download-wordpress').click( function() { 3 3 this.blur(); 4 jQuery('#after-download').modal(); 4 $('#after-download').modal(); 5 } ); 6 // Move focus into modal 7 $('#after-download').on($.modal.OPEN, function() { 8 $( this ).focus(); 9 } ); 10 // Move focus back to download button 11 $('#after-download').on($.modal.AFTER_CLOSE, function() { 12 $('#download-wordpress').focus(); 5 13 } ); 6 14 } )( window.jQuery ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-download.php
r9689 r10453 130 130 <div class="entry-content row"> 131 131 132 <div id="after-download" class="modal" role="dialog" aria-modal="true" >132 <div id="after-download" class="modal" role="dialog" aria-modal="true" tabindex="0"> 133 133 <div role="document"> 134 134 <header class="entry-header">
Note: See TracChangeset
for help on using the changeset viewer.