Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #20485 from RudyLu/keyboard/Bug1013739-persistent_…
Browse files Browse the repository at this point in the history
…alternativeMenu_master

Bug 1013739 - [Dolphin][Flame][FFOS 1.4]Long touch the build-in keyboard
r=timdream
  • Loading branch information
RudyLu authored and rvandermeulen committed Jun 13, 2014
1 parent 8716ad7 commit cc35466
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/keyboard/js/keyboard.js
Expand Up @@ -1590,6 +1590,8 @@ function hideKeyboard() {
settingsPromiseManager.set({
'keyboard.current': undefined
});

clearTouchedKeys();
}

// Resize event handler
Expand Down Expand Up @@ -1757,6 +1759,11 @@ function clearTouchedKeys() {

hideAlternatives();
touchedKeys = {};

// Reset all the pending actions here.
clearTimeout(deleteTimeout);
clearInterval(deleteInterval);
clearTimeout(menuTimeout);
}

// Hide the keyboard via input method API
Expand Down

0 comments on commit cc35466

Please sign in to comment.