Actual Behavior: Nothing happens.
Touch events being enabled confuses the JavaScript on this site because it is coded to handle either touch or mouse input. This is a simple coding mistake because many devices (think touch-enabled laptops) support both touch and mouse usage. Users will be very confused when the survey can only be filled in by touching the screen but not by mouse.
window.TOUCH_DEVICE = 'ontouchstart' in document.documentElement && !window._phantom
It would be better to listen for both touch and mousedown (or click) events.
URL: http://cultureamp.com
Browser / Version: Firefox 42.0
Operating System: Windows 8.1
Problem type: Something else - I'll add details below
Steps to Reproduce
To test this, you need access to a cultureamp.com survey and must set
dom.w3c_touch_events.enabled
to1
inabout:config
.Expected Behavior: UI should work
Actual Behavior: Nothing happens.
Touch events being enabled confuses the JavaScript on this site because it is coded to handle either touch or mouse input. This is a simple coding mistake because many devices (think touch-enabled laptops) support both touch and mouse usage. Users will be very confused when the survey can only be filled in by touching the screen but not by mouse.
I assume the problem is caused by the use of this variable:
It would be better to listen for both touch and mousedown (or click) events.