Merge pull request #1833 from digitalbazaar/fix-chrome-longlines-slowdown

Make pads with long lines usable with chrome.
This commit is contained in:
John McLear 2013-07-14 14:59:21 -07:00
commit 53fb4fc3fe
2 changed files with 82 additions and 2 deletions

View file

@ -3855,7 +3855,7 @@ function Ace2Inner(){
}
else if (type == "keyup")
{
var wait = 200;
var wait = 0;
idleWorkTimer.atLeast(wait);
idleWorkTimer.atMost(wait);
}
@ -3875,7 +3875,7 @@ function Ace2Inner(){
if ((!specialHandled) && (!thisKeyDoesntTriggerNormalize) && (!inInternationalComposition))
{
if (type != "keyup" || !incorpIfQuick())
if (type != "keyup")
{
observeChangesAroundSelection();
}