diff --git a/accessible/workspace-tree.component.js b/accessible/workspace-tree.component.js index d6c8fdb23..33e940e04 100644 --- a/accessible/workspace-tree.component.js +++ b/accessible/workspace-tree.component.js @@ -184,6 +184,14 @@ blocklyApp.WorkspaceTreeComponent = ng.core // Generate a list of action buttons. this.actionButtonsInfo = [{ + baseIdKey: 'moveToMarkedSpot', + translationIdForText: 'MOVE_TO_MARKED_SPOT', + action: that.moveToMarkedSpot_.bind(that), + isDisabled: function() { + return !that.clipboardService.isMovableToMarkedConnection( + that.block); + } + }, { baseIdKey: 'markBefore', translationIdForText: 'MARK_SPOT_BEFORE', action: that.markSpotBefore_.bind(that), @@ -197,14 +205,6 @@ blocklyApp.WorkspaceTreeComponent = ng.core isDisabled: function() { return !that.block.nextConnection; } - }, { - baseIdKey: 'moveToMarkedSpot', - translationIdForText: 'MOVE_TO_MARKED_SPOT', - action: that.moveToMarkedSpot_.bind(that), - isDisabled: function() { - return !that.clipboardService.isMovableToMarkedConnection( - that.block); - } }, { baseIdKey: 'delete', translationIdForText: 'DELETE',