Minor bug fixes

This commit is contained in:
2015-10-01 00:43:02 +08:00
parent 3e8e6362b2
commit a35f33b1cf
3 changed files with 21 additions and 4 deletions
@@ -43,6 +43,14 @@
var files = finfo.files;
var l = files.length;
// XXX: Not traditional!
// Maximum of 4 for listing
if( ostage.parentNode.className == "h_img" && 4 < l )
{
l = 4;
}
for( var i = 0; i < l; i ++ )
{
/** @type {_AstJson_.SiteFile} */