From e20a6135e47410d93ab4a68a4efa012db38486dc Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Tue, 8 Oct 2019 19:50:54 +0000 Subject: [PATCH] Bundled Themes: Fix JSHint error in [46445] Props ianbelanger. See #48110. git-svn-id: https://develop.svn.wordpress.org/trunk@46447 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwenty/assets/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentytwenty/assets/js/index.js b/src/wp-content/themes/twentytwenty/assets/js/index.js index 17290b38fa..1ed91c53f5 100644 --- a/src/wp-content/themes/twentytwenty/assets/js/index.js +++ b/src/wp-content/themes/twentytwenty/assets/js/index.js @@ -190,7 +190,7 @@ twentytwenty.coverModals = { htmlStyle.setProperty( styleKey, styles[ styleKey ] ); } ); - _win.twentytwenty.scrolled = parseInt( styles.top ); + _win.twentytwenty.scrolled = parseInt( styles.top, 10 ); if ( adminBar ) { _doc.body.style.setProperty( 'padding-top', paddingTop );