From 2e0a3d87ad9ddaaec8e34fc1b529e521022de4c0 Mon Sep 17 00:00:00 2001 From: Rish Date: Wed, 8 Jul 2020 10:26:14 +0530 Subject: [PATCH] Updated readme no issue - Updated readme to reflect correct custom data attribute --- ghost/portal/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/portal/README.md b/ghost/portal/README.md index e573541c73..ff576c4a85 100644 --- a/ghost/portal/README.md +++ b/ghost/portal/README.md @@ -17,7 +17,7 @@ Add below script in your theme's `default.hbs` just before the end of body tag O By default, the script adds a default floating trigger button on the bottom right of your page which is used to trigger the popup on screen. -Its possible to override the default trigger button with your own by adding data attribute `data-members-trigger-button` to any HTML tag on page, which will hide the default trigger and allow controlling the popup state by clicking on this element. +Its possible to override the default trigger button with your own by adding data attribute `data-portal` to any HTML tag on page, which will hide the default trigger and allow controlling the popup state by clicking on this element. The script also adds custom class names to this element for open and close state of popup - `gh-members-popup-open` and `gh-members-popup-close`, allowing devs to update its UI based on popup state.