diff --git a/resources/dist/index.js b/resources/dist/index.js index b620924a6..3c66fa61b 100644 Binary files a/resources/dist/index.js and b/resources/dist/index.js differ diff --git a/resources/dist/index.js.map b/resources/dist/index.js.map index bd4ac63cb..74203fbfb 100644 Binary files a/resources/dist/index.js.map and b/resources/dist/index.js.map differ diff --git a/src/userSettings.js b/src/userSettings.js index f63a0964d..244552eef 100644 --- a/src/userSettings.js +++ b/src/userSettings.js @@ -83,7 +83,7 @@ export default function createUserSettings( storage ) { count = parseInt( result, 10 ); // stored number is not a zero, override it to zero and store new value - if ( Number.isNaN( count ) ) { + if ( isNaN( count ) ) { count = 0; this.setPreviewCount( count ); }