diff --git a/app/pages/chunk/page.js b/app/pages/chunk/page.js index ca04d57..c00ff07 100644 --- a/app/pages/chunk/page.js +++ b/app/pages/chunk/page.js @@ -3,7 +3,10 @@ var modulesGraph = require("../../graphs/modules"); var sortTable = require("../../sortTable"); module.exports = function(id) { - id = parseInt(id, 10); + var parsedId = parseInt(id, 10); + if (parsedId) { + id = parsedId; + } document.title = "chunk " + id; $(".page").html(require("./chunk.jade")({ stats: app.stats,