diff options
Diffstat (limited to 'js/controllers')
-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 534f77c7..e76e5a1b 100755 --- a/js/controllers/styles-controller.js +++ b/js/controllers/styles-controller.js | |||
@@ -1229,9 +1229,10 @@ var stylesController = exports.StylesController = Montage.create(Component, { | |||
1229 | } | 1229 | } |
1230 | } | 1230 | } |
1231 | if(isNaN(dist)) { | 1231 | if(isNaN(dist)) { |
1232 | dist = null; | 1232 | return "none"; |
1233 | } else { | ||
1234 | return dist; | ||
1233 | } | 1235 | } |
1234 | return dist; | ||
1235 | } | 1236 | } |
1236 | }, | 1237 | }, |
1237 | 1238 | ||