diff --git a/js/makegrid.js b/js/makegrid.js index 5f6cc532b4..06a83f7734 100644 --- a/js/makegrid.js +++ b/js/makegrid.js @@ -1264,9 +1264,7 @@ $('html').click(function(e) { // hide edit cell if the click is not from g.cEdit if ($(e.target).parents().index(g.cEdit) == -1) { - if (g.isCellEditActive) { - g.hideEditCell(); - } + g.hideEditCell(); } }); // add table class