Bug 858556 - Double clicking text with the mouse displays the selection grippers in Immersive mode. r=bbondy

This commit is contained in:
Jim Mathies 2013-03-28 21:29:55 -04:00
parent 34b6cec0be
commit 323a807a4b

View File

@ -146,7 +146,9 @@ var TouchModule = {
// once we get omtc and the apzc. Currently though dblclick is delivered to
// content and triggers selection of text, so fire up the SelectionHelperUI
// once selection is present.
if (!SelectionHelperUI.isActive && !FindHelperUI.isActive) {
if (!InputSourceHelper.isPrecise &&
!SelectionHelperUI.isActive &&
!FindHelperUI.isActive) {
setTimeout(function () {
SelectionHelperUI.attachEditSession(Browser.selectedTab.browser,
aEvent.clientX, aEvent.clientY);