Bug 914100 - Keep the focused element of forms.js up to date. r=fabrice

This commit is contained in:
Yuan Xulei 2013-10-30 15:21:02 -04:00
parent d48fd3d8ac
commit dce5610a0e

View File

@ -636,7 +636,7 @@ let FormAssistant = {
},
showKeyboard: function fa_showKeyboard(target) {
if (this.isKeyboardOpened)
if (this.focusedElement === target)
return;
if (target instanceof HTMLOptionElement)