Fix reference to params.config to check for params (avoids undefined variable error)
git-svn-id: https://mathjax.svn.sourceforge.net/svnroot/mathjax/trunk@620 b8fd5906-0fad-46e2-a0d3-10d94ff285d1
This commit is contained in:
parent
8971f378f5
commit
86ad73c8bd
File diff suppressed because one or more lines are too long
|
@ -1473,7 +1473,7 @@ MathJax.Hub.Startup = {
|
|||
}
|
||||
if (this.script.match(/\S/)) {
|
||||
this.queue.Push(this.script+";\n1;");
|
||||
} else if (this.params.config) {
|
||||
} else if (this.params && this.params.config) {
|
||||
var files = this.params.config.split(/,/);
|
||||
for (var i = 0, m = files.length; i < m; i++) {
|
||||
if (!files[i].match(/\.js$/)) {files[i] += ".js"}
|
||||
|
|
Loading…
Reference in New Issue
Block a user