X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fquickedit%2Fjs%2Fviews%2FAppView.es6.js;fp=web%2Fcore%2Fmodules%2Fquickedit%2Fjs%2Fviews%2FAppView.es6.js;h=abd8fef6d0ea0de5642796a4b6933e026b512c24;hp=1e3093e12a78b3e26c6d7247e9d0a1ead643cfe5;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/quickedit/js/views/AppView.es6.js b/web/core/modules/quickedit/js/views/AppView.es6.js index 1e3093e12..abd8fef6d 100644 --- a/web/core/modules/quickedit/js/views/AppView.es6.js +++ b/web/core/modules/quickedit/js/views/AppView.es6.js @@ -231,11 +231,9 @@ if (context && context.reason === 'mouseleave') { accept = false; } - else { - // Check whether the transition has been confirmed? - if (context && context.confirmed) { - accept = true; - } + // Check whether the transition has been confirmed? + else if (context && context.confirmed) { + accept = true; } } }