fix(contextpad): prevent replace menu from opening multiple instances

This commit is contained in:
jdotzki 2015-03-08 11:51:38 +01:00
parent 2321caecd7
commit 2b8d8110fd
1 changed files with 2 additions and 2 deletions

View File

@ -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' }
); );
} }
} }