www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7d9db89c8b9a939e4dbc96227b6c2a1f5cbb6cc6
parent fe6896918434c69bfc0ec11fed65661de863b119
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Tue, 27 May 2014 15:18:47 -0400

Merge branch 'issue821' into v2.4-beta.  Issue 821.

Diffstat:
Munpacked/MathJax.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js @@ -1079,7 +1079,8 @@ MathJax.HTML = { Get: function (name,obj) { if (!obj) {obj = {}} var pattern = new RegExp("(?:^|;\\s*)"+this.prefix+"\\."+name+"=([^;]*)(?:;|$)"); - var match = pattern.exec(document.cookie); + var match; + try {match = pattern.exec(document.cookie)} catch (err) {}; // ignore errors reading cookies if (match && match[1] !== "") { var keys = unescape(match[1]).split('&;'); for (var i = 0, m = keys.length; i < m; i++) {