فهرست منبع

Changed focus function

Tyler Lindberg 8 سال پیش
والد
کامیت
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 );
 
 				}
 

粤ICP备19079148号