fix(contextpad): prevent replace menu from opening multiple instances
This commit is contained in:
parent
2321caecd7
commit
2b8d8110fd
|
@ -184,9 +184,9 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
|
||||||
var entries = getReplacementMenuEntries(element, replaceElement);
|
var entries = getReplacementMenuEntries(element, replaceElement);
|
||||||
|
|
||||||
popupMenu.open(
|
popupMenu.open(
|
||||||
|
'replace-menu',
|
||||||
pos,
|
pos,
|
||||||
entries,
|
entries
|
||||||
{ className: 'replace-menu' }
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue