Skip to content

Commit 1b8ac60

Browse files
committed
Text update
1 parent a18e897 commit 1b8ac60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/development/services/modal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ By default, clicking the close button, the escape key, or anywhere outside of th
142142
);
143143
$modal_html = ee('View')->make('ee:_shared/modal_confirm_delete')->render($modal_vars);
144144

145-
NOTE: Note: you will also need to add custom JS to remove `.must-interact`, and then trigger `$(modal).trigger('modal:close')` in order to close it.
145+
NOTE: Note: you will also need to add custom JS to remove `.must-interact`, and then trigger the `modal:close` event in order to close it.
146146

147147
$('.modal-wrap .dialog__buttons button').on('click', function() {
148148
$(this).closest('.must-interact').removeClass('must-interact');

0 commit comments

Comments
 (0)