From 104434c674410da082b0e879896d74cb959a49fb Mon Sep 17 00:00:00 2001
From: "Davide P. Cervone" <dpvc@union.edu>
Date: Sun, 13 Sep 2015 11:27:54 -0400
Subject: [PATCH] Add mobile detection for Chrome and enable alternate context
 menu trigger (double-tap and hold)

---
 unpacked/MathJax.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js
index e1a1900bc..ccee686ca 100644
--- a/unpacked/MathJax.js
+++ b/unpacked/MathJax.js
@@ -3180,6 +3180,9 @@ MathJax.Hub.Startup = {
                           AGENT.match(/ Fennec\//) != null ||
                           AGENT.match(/Mobile/) != null);
     },
+    Chrome: function (browser) {
+      browser.noContextMenu = browser.isMobile = !!navigator.userAgent.match(/ Mobile[ \/]/);
+    },
     Opera: function (browser) {browser.version = opera.version()},
     Edge: function (browser) {
       browser.isMobile = !!navigator.userAgent.match(/ Phone/);