From eaae835829cd3c9eccdf3bd6a9e21cf4621b627e Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 23 Jan 2017 14:54:42 -0500 Subject: [PATCH] Minor style tweak --- modules/core/context.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/context.js b/modules/core/context.js index 3ab733d4c..353285739 100644 --- a/modules/core/context.js +++ b/modules/core/context.js @@ -135,9 +135,9 @@ export function coreContext() { if (inIntro || d3.select('.modal').size()) return; var canSave; - if (mode && mode.id === 'save') + if (mode && mode.id === 'save') { canSave = false; - else { + } else { canSave = context.selectedIDs().every(function(id) { var entity = context.hasEntity(id); return entity && !entity.isDegenerate();