Skip to content

Commit

Permalink
Update PLS data attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Oct 16, 2024
1 parent ac07e70 commit 23a14c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Scripts/dataAttrListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ domReady( () => {

// Is premium plugin
if (
el.hasAttribute( 'data-nfd-installer-plugin-slug' ) &&
el.hasAttribute( 'data-nfd-installer-plugin-provider' )
el.hasAttribute( 'data-nfd-installer-pls-slug' ) &&
el.hasAttribute( 'data-nfd-installer-pls-provider' )
) {
dispatchEvent( {
action: 'installPremiumPlugin',
pluginName: el.getAttribute(
'data-nfd-installer-plugin-name'
),
pluginSlug: el.getAttribute(
'data-nfd-installer-plugin-slug'
'data-nfd-installer-pls-slug'
),
pluginProvider: el.getAttribute(
'data-nfd-installer-plugin-provider'
'data-nfd-installer-pls-provider'
),
redirectUrl,
} );
Expand Down

0 comments on commit 23a14c1

Please sign in to comment.