From 6b3e2feb2c473b1ee9cba4242ce5ff077b4ed20b Mon Sep 17 00:00:00 2001
From: Renaud Le Gac <legac@cppm.in2p3.fr>
Date: Thu, 20 Feb 2014 21:21:41 +0100
Subject: [PATCH] Hide MathJax context menu.

---
 views/plugin_dbui/index.html | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/views/plugin_dbui/index.html b/views/plugin_dbui/index.html
index fe9058bb..2bd5a80a 100644
--- a/views/plugin_dbui/index.html
+++ b/views/plugin_dbui/index.html
@@ -5,20 +5,21 @@
         <meta name="author" lang="en" content="{{=response.author}}" />
         <meta name="keywords" content="{{=response.keywords}}" />
         <meta name="description" content="{{=response.description}}" />
-        
+
         <title>{{=request.application}}</title>
 
-        <!-- mathjax library -->        
+        <!-- mathjax library -->
         <script type="text/x-mathjax-config">
             MathJax.Hub.Config({
                 extensions: ["tex2jax.js"],
                 jax: ["input/TeX", "output/HTML-CSS"],
                 tex2jax: {
-                    inlineMath: [ ['$','$'], ["\\(","\\)"] ],
-                    displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
+                    inlineMath: [['$','$']],
+                    displayMath: [['$$','$$']],
                     processEscapes: true
                 },
-                "HTML-CSS": { availableFonts: ["TeX"] }
+                "HTML-CSS": { availableFonts: ["TeX"] },
+                showMathMenu: false
             });
         </script>
         {{for el in response.files:
-- 
GitLab