Skip to content

Commit

Permalink
Update jsReady.js
Browse files Browse the repository at this point in the history
Fix typo in code. Strings in array include hash character.
  • Loading branch information
jdlrobson committed Dec 4, 2023
1 parent 7744940 commit 5ad9123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine-scripts/puppet/jsReady.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const getSkinModuleFromHashtags = ( hashtags ) => {
*/
module.exports = async ( page, hashtags ) => {
await moduleReady( page, getSkinModuleFromHashtags( hashtags ) );
if ( hashtags.includes( 'quicksurvey' ) ) {
if ( hashtags.includes( '#quicksurvey' ) ) {
await moduleReady( page, 'ext.quicksurveys.lib.vue' );
}
await page.evaluate( () => {
Expand Down

0 comments on commit 5ad9123

Please sign in to comment.