1
Vote

Opera 12 mouse event init exception

description

In Opera 12 Mobile Classic on touchstart followed code
evObj.initMouseEvent(newName, canBubble, true, window, 1, sourceEvent.screenX, sourceEvent.screenY,
                sourceEvent.clientX, sourceEvent.clientY, sourceEvent.ctrlKey, sourceEvent.altKey,
                sourceEvent.shiftKey, sourceEvent.metaKey, sourceEvent.button, relatedTarget || sourceEvent.relatedTarget);
will cause DOMException: NOT_SUPPORTED_ERR because of sourceEvent.button is undefined. Opera requires correct button code for that.

comments