We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 122c427 + 3c02ff3 commit c8e3bf5Copy full SHA for c8e3bf5
unpacked/MathJax.js
@@ -298,7 +298,7 @@ MathJax.cdnFileVersions = {}; // can be used to specify revisions for individua
298
{args = [].slice.call(args,i)}
299
else {args = [].slice.call(arguments,0)}
300
}
301
- if (isArray(args) && args.length === 1) {args = args[0]}
+ if (isArray(args) && args.length === 1 && typeof(args[0]) === 'function') {args = args[0]}
302
if (typeof args === 'function') {
303
if (args.execute === CALLBACK.prototype.execute) {return args}
304
return CALLBACK({hook: args});
0 commit comments