浏览代码

Changed focus function

Tyler Lindberg 7 年之前
父节点
当前提交
4d6075d969
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/js/Sidebar.Settings.Shortcuts.js

+ 1 - 1
editor/js/Sidebar.Settings.Shortcuts.js

@@ -149,7 +149,7 @@ Sidebar.Settings.Shortcuts = function ( editor ) {
 
 				if ( editor.selected !== null ) {
 
-					editor.focusById( editor.selected.id );
+					editor.focus( editor.selected );
 
 				}