Skip to content

Commit d521f1b

Browse files
committed
Fix for empty flows not being editable
1 parent 8812283 commit d521f1b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

module/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export function init(
174174
)
175175

176176
// Initialize the page flow manager
177-
if ($.one('[data-cf-snippet]')) {
177+
if ($.one('[data-cf-flow]')) {
178178
flowMgr.init(
179179
'[data-cf-flow]',
180180
new FlowAPI(
@@ -281,5 +281,3 @@ export function init(
281281
}
282282

283283
}
284-
285-

0 commit comments

Comments
 (0)