diff --git a/src/navigation.js b/src/navigation.js index 1e011e8..9140346 100644 --- a/src/navigation.js +++ b/src/navigation.js @@ -190,7 +190,8 @@ function showError(cfg = {}) { } // use default error template if not passed as a configuration _.defaultsDeep(cfg, { - template: defaults.templates.error + template: defaults.templates.error, + type: 'modal' }); console.log('showing error... options:', cfg);