TouchEvent null in ContextMenu.prototype.showAt


#1

Hi,

To fix the null error for now, I changed

else if (elem instanceof TouchEvent)

to

else if (window.TouchEvent && elem instanceof TouchEvent)

in

ContextMenu.prototype.showAt = function (elem, showAt)

Cheers,

Alex