WordPress.org

Making WordPress.org

Changeset 9152


Ignore:
Timestamp:
09/26/2019 06:47:56 PM (10 months ago)
Author:
Otto42
Message:

Plugins: Add a settimeout on the #changelog switch, to force firefox to behave in unusual circumstances. Fixes #4701.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php

    r9151 r9152  
    6969            <li id="tablink-developers"><a href="#developers"><?php esc_html_e( 'Development', 'wporg-plugins' ); ?></a></li>
    7070        </ul>
    71         <script type="text/javascript">if ( '#changelog' == window.location.hash ) { window.location.hash = '#developers'; }</script>
     71        <script type="text/javascript">if ( '#changelog' == window.location.hash ) { window.setTimeout( function() { window.location.hash = '#developers'; }, 10 ); }</script>
    7272    <?php endif; ?>
    7373
Note: See TracChangeset for help on using the changeset viewer.