From 1b11a1dff0a00d864ed8f2e8db3b56a87f6debfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Wed, 21 Oct 2015 02:33:42 +0800 Subject: [PATCH] wrong code --- botanjs/src/Astro/Blog/AstroEdit/Visualizer/Snippet/SiteFile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botanjs/src/Astro/Blog/AstroEdit/Visualizer/Snippet/SiteFile.js b/botanjs/src/Astro/Blog/AstroEdit/Visualizer/Snippet/SiteFile.js index 5395c1c..44b358d 100644 --- a/botanjs/src/Astro/Blog/AstroEdit/Visualizer/Snippet/SiteFile.js +++ b/botanjs/src/Astro/Blog/AstroEdit/Visualizer/Snippet/SiteFile.js @@ -157,7 +157,7 @@ ] , [ new DataKey( "value", hash ) - , new DataKey( "size", override.size || "large" ) + , new DataKey( "size", ( override && override.size ) || "large" ) , new IKey( "style", "max-height: 150px;" ) ] );