www

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

commit 997692713e08ea9368c22d40c869465a8c71f784
parent 67ee149dd2007b15796a6b85b897ac60a7e14e28
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Thu,  6 Feb 2014 16:46:18 -0500

Remove user configuration cookie (hasn't been used in 5 years).  This should be reflected in a removal of the CookieConfig item from the localization files.  Issue #559.

Diffstat:
Munpacked/MathJax.js | 15---------------
1 file changed, 0 insertions(+), 15 deletions(-)

diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js @@ -2359,21 +2359,6 @@ MathJax.Hub.Startup = { MathJax.Hub.config.menuSettings.locale = this.params.locale; } // - // Check for user cookie configuration - // - var user = MathJax.HTML.Cookie.Get("user"); - if (user.URL || user.Config) { - if (confirm( - MathJax.Localization._("CookieConfig", - "MathJax has found a user-configuration cookie that includes code to "+ - "be run. Do you want to run it?\n\n"+ - "(You should press Cancel unless you set up the cookie yourself.)") - )) { - if (user.URL) {this.queue.Push(["Require",MathJax.Ajax,user.URL])} - if (user.Config) {this.queue.Push(new Function(user.Config))} - } else {MathJax.HTML.Cookie.Set("user",{})} - } - // // Run the config files, if any are given in the parameter list // if (this.params.config) {