Changeset 10262 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php
- Timestamp:
- 09/16/2020 03:20:39 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/functions.php
r9761 r10262 101 101 } elseif ( is_page( 'download' ) ) { 102 102 wp_enqueue_style( 'jquery-modal-style', get_theme_file_uri( '/css/jquery.modal.min.css' ), [], '0.9.2' ); 103 if ( is_rtl() ) { 104 wp_add_inline_style( 105 'jquery-modal-style', 106 '.modal { text-align: right; }' . 107 '.modal a.close-modal { right: unset; left: -12.5px; }' 108 ); 109 } 103 110 wp_enqueue_script( 'jquery-modal', get_theme_file_uri( '/js/jquery.modal.min.js' ), [ 'jquery' ], '0.9.2', true ); 104 111 wp_enqueue_script( 'wporg-page-download', get_theme_file_uri( '/js/page-download.js' ), [ 'jquery', 'jquery-modal' ], '20191220', true );
Note: See TracChangeset
for help on using the changeset viewer.