mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-11 11:07:07 +00:00
fixed: keystroke duplication when shift is pressed immediately after
This commit is contained in:
1 parent
422e014eff
commit
cc98fd4167
1 file changed
+1
-2
@@ -2360,7 +2360,6 @@ var _CPCopyPlaceholder = '-';
|
||||
{
|
||||
_CPNativeInputFieldActive = YES;
|
||||
[currentFirstResponder _activateNativeInputElement:_CPNativeInputField];
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2378,7 +2377,7 @@ var _CPCopyPlaceholder = '-';
|
||||
_CPNativeInputField.addEventListener("keydown", function(e)
|
||||
{
|
||||
// this protects from heavy typing
|
||||
if (CPBrowserIsEngine(CPGeckoBrowserEngine) && _CPNativeInputFieldKeyDownCalled)
|
||||
if (_CPNativeInputFieldKeyDownCalled)
|
||||
return true;
|
||||
|
||||
_CPNativeInputFieldKeyDownCalled = YES;
|
||||
|
||||
Reference in new issue
Block a user