PennController for IBEX › Forums › Support › hide cursor and select by pointing › Reply To: hide cursor and select by pointing
September 2, 2020 at 10:42 am
#6034
Jeremy
Keymaster
Hi Peiyao,
What if you try replacing this bit:
e=>getVar("choice").set( e.target.className.replace(/^.*(right|top|bottom|left).*$/,"$1") )._runPromises().then(r)
with this
function(e) { getVar("choice").set( this.className.replace(/^.*(right|top|bottom|left).*$/,"$1") )._runPromises().then(r); }
?
(make sure you don’t lose/add parentheses in the process)
Jeremy