From 99f86060a4da59b6a0bba5088f66bc45dd9fd19d Mon Sep 17 00:00:00 2001 From: Pierre Date: Wed, 9 May 2018 12:05:11 +0200 Subject: [PATCH] Fix iOS 9 issue --- assets/js/components/textParser.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/js/components/textParser.js b/assets/js/components/textParser.js index 7276c400..d720794a 100644 --- a/assets/js/components/textParser.js +++ b/assets/js/components/textParser.js @@ -71,6 +71,10 @@ ComunicWeb.components.textParser = { node.innerHTML = "@" + userID; node.className = "a"; + //Small fix for iOS 9 + if(!node.addEventListener) + continue; + //Set event listener node.addEventListener("click", function(ev){