Node.js based forum software built for the modern web
fixed #2208
Julian Lam5ba88b7152e2
diff --git a/src/meta/js.js b/src/meta/js.jsindex 165e7f2b23..688e984ee7 100644--- a/src/meta/js.js+++ b/src/meta/js.js@@ -155,11 +155,11 @@ module.exports = function(Meta) {cache: minifiedString,map: mapString});-- // Save the minfile in public/ so things like nginx can serve it- Meta.js.commitToFile();}+ // Save the minfile in public/ so things like nginx can serve it+ Meta.js.commitToFile();+if (typeof callback === 'function') {callback();}