06.10.2020, 08:57
Hi,
I am using the custom JavaScript for short/long press shutter function on a specific visu for more than a year without any problems.
My customer have noticed, since a week or two, that the buttons aren't working anymore. I have also checked and noticed that only the short press works.
The only addition to Erwin's script is the function below to prevent the default long press action on mobiles.
Can someone please verify if any update on chrome-safari prevent the script from working? Is there any updated script?
Thank you in advance
George
I am using the custom JavaScript for short/long press shutter function on a specific visu for more than a year without any problems.
My customer have noticed, since a week or two, that the buttons aren't working anymore. I have also checked and noticed that only the short press works.
The only addition to Erwin's script is the function below to prevent the default long press action on mobiles.
Code:
$(function() {
window.oncontextmenu = function(event) {
event.preventDefault();
event.stopPropagation();
return false;
}
Can someone please verify if any update on chrome-safari prevent the script from working? Is there any updated script?
Thank you in advance
George