don't break if we don't have any runs

This commit is contained in:
soulgalore 2014-06-26 08:26:56 -07:00
parent 445d7a5cfd
commit 4d67e17ba8
1 changed files with 3 additions and 1 deletions

View File

@ -132,7 +132,9 @@ module.exports.registerHelpers = function registerHelpers() {
if (Array.isArray(run))
return run[0][whichView].images.waterfall;
else
return run[whichView].images.waterfall;
if (run)
return run[whichView].images.waterfall;
else return;
});