Make WordPress Core

Ticket #48110: 48110-fix-jshint-error.diff

File 48110-fix-jshint-error.diff, 579 bytes (added by ianbelanger, 5 years ago)

Fixes the jshint error

  • src/wp-content/themes/twentytwenty/assets/js/index.js

     
    190190                                        htmlStyle.setProperty( styleKey, styles[ styleKey ] );
    191191                                } );
    192192
    193                                 _win.twentytwenty.scrolled = parseInt( styles.top );
     193                                _win.twentytwenty.scrolled = parseInt( styles.top, 10 );
    194194
    195195                                if ( adminBar ) {
    196196                                        _doc.body.style.setProperty( 'padding-top', paddingTop );