@financial-times/n-myft-ui 28.2.6 → 28.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -257,7 +257,6 @@ function FormElement (createList, showPublicToggle, attachDescription, onListCre
257
257
  triggerCreateListEvent(contentId, createdList.uuid);
258
258
  triggerAddToListEvent(contentId, createdList.uuid);
259
259
  positionOverlay(createListOverlay.wrapper);
260
- triggerCancelEvent();
261
260
 
262
261
  if (createdList.isShareable) {
263
262
  createListOverlay.close();
@@ -272,6 +271,7 @@ function FormElement (createList, showPublicToggle, attachDescription, onListCre
272
271
  function handleCancelClick (event) {
273
272
  event.preventDefault();
274
273
  event.stopPropagation();
274
+ triggerCancelEvent();
275
275
  formElement.remove();
276
276
  if (!lists.length) attachDescription();
277
277
  onCancel();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@financial-times/n-myft-ui",
3
- "version": "28.2.6",
3
+ "version": "28.2.7",
4
4
  "description": "Client side component for interaction with myft",
5
5
  "main": "server.js",
6
6
  "scripts": {