fix F2 keypress bug
This commit is contained in:
@@ -50,7 +50,9 @@ mindplot.DesignerKeyboard = new Class({
|
||||
}
|
||||
);
|
||||
this.addShortcut(
|
||||
['f2'],function() {
|
||||
['f2'],function(event) {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
var node = model.selectedTopic();
|
||||
if (node) {
|
||||
node.showTextEditor();
|
||||
|
Reference in New Issue
Block a user