зеркало из https://github.com/mozilla/gecko-dev.git
Bug 784472 - Long press on text selection should show context menus again. r=wesj
This commit is contained in:
Родитель
766540931f
Коммит
81c2c16ed7
|
@ -1384,7 +1384,7 @@ var NativeWindow = {
|
||||||
|
|
||||||
while (element) {
|
while (element) {
|
||||||
for each (let item in this.items) {
|
for each (let item in this.items) {
|
||||||
if (!this.menuitems[item.id] && item.matches(element)) {
|
if (!this.menuitems[item.id] && item.matches(element, aX, aY)) {
|
||||||
this.menuitems[item.id] = item;
|
this.menuitems[item.id] = item;
|
||||||
menuitemsSet = true;
|
menuitemsSet = true;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче