Don't show the v1.0 compatibility message if the config parameter was specified, even if the config file fails to load

This commit is contained in:
Davide P. Cervone 2011-07-27 11:57:07 -04:00
parent d57abf54d8
commit e21825cf56
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1597,7 +1597,7 @@ MathJax.Hub.Startup = {
//
ConfigDefault: function () {
var CONFIG = MathJax.Hub.config;
if (CONFIG["v1.0-compatible"] && CONFIG.jax.length === 0)
if (CONFIG["v1.0-compatible"] && CONFIG.jax.length === 0 && !this.params.config)
{return MathJax.Ajax.Require(this.URL("extensions","v1.0-warning.js"))}
},