Fix iOS 9 issue

This commit is contained in:
Pierre 2018-05-09 12:05:11 +02:00
parent 0c68b8dd5d
commit 99f86060a4

View File

@ -71,6 +71,10 @@ ComunicWeb.components.textParser = {
node.innerHTML = "@" + userID; node.innerHTML = "@" + userID;
node.className = "a"; node.className = "a";
//Small fix for iOS 9
if(!node.addEventListener)
continue;
//Set event listener //Set event listener
node.addEventListener("click", function(ev){ node.addEventListener("click", function(ev){