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

Sign up to get free protection for your applications and to get access to all the features.
@@ -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": {