diff options
Diffstat (limited to 'js/controllers/styles-controller.js')
-rwxr-xr-x | js/controllers/styles-controller.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/controllers/styles-controller.js b/js/controllers/styles-controller.js index 217a536d..f35a6757 100755 --- a/js/controllers/styles-controller.js +++ b/js/controllers/styles-controller.js | |||
@@ -1261,9 +1261,10 @@ var stylesController = exports.StylesController = Montage.create(Component, { | |||
1261 | } | 1261 | } |
1262 | } | 1262 | } |
1263 | if(isNaN(dist)) { | 1263 | if(isNaN(dist)) { |
1264 | dist = null; | 1264 | return "none"; |
1265 | } else { | ||
1266 | return dist; | ||
1265 | } | 1267 | } |
1266 | return dist; | ||
1267 | } | 1268 | } |
1268 | }, | 1269 | }, |
1269 | 1270 | ||