From 86db777bd4fe19dfc2c4c822715e9721dc9819c9 Mon Sep 17 00:00:00 2001 From: Min RK Date: Tue, 2 Feb 2016 09:21:10 +0100 Subject: [PATCH] disable MathJax renderer selection menu since we don't ship all renderers, and MathJax can hang if a nonexistent renderer is selected. --- notebook/static/notebook/js/mathjaxutils.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/notebook/static/notebook/js/mathjaxutils.js b/notebook/static/notebook/js/mathjaxutils.js index e98158fab..7848da810 100644 --- a/notebook/static/notebook/js/mathjaxutils.js +++ b/notebook/static/notebook/js/mathjaxutils.js @@ -28,7 +28,10 @@ define([ webFont: "STIX-Web", styles: {'.MathJax_Display': {"margin": 0}}, linebreaks: { automatic: true } - } + }, + MathMenu: { + showRenderer: false, + }, }); MathJax.Hub.Configured(); } else if (window.mathjax_url !== "") {