Fix contextual menu in Chrome (Windows)

This commit is contained in:
DanyaPostfactum 2012-10-29 17:11:06 +11:00 committed by nightwing
commit 9d82f0d406

View file

@ -298,7 +298,7 @@ var TextInput = function(parentNode, host) {
host.renderer.$keepTextAreaAtCursor = null;
// on windows context menu is opened after mouseup
if (useragent.isWin && (useragent.isGecko || useragent.isIE))
if (useragent.isWin)
event.capture(host.container, function(e) {
text.style.left = e.clientX - 2 + "px";
text.style.top = e.clientY - 2 + "px";