Skip to content

Commit

Permalink
chore: Remove one place for open in new window on menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Nov 14, 2019
1 parent 3ab776b commit e071126
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/block-library/src/navigation-menu-item/edit.js
Expand Up @@ -161,13 +161,6 @@ function NavigationMenuItemEdit( {
<PanelBody
title={ __( 'Menu Settings' ) }
>
<ToggleControl
checked={ attributes.opensInNewTab }
onChange={ ( newTab ) => {
setAttributes( { opensInNewTab: newTab } );
} }
label={ __( 'Open in new tab' ) }
/>
<TextareaControl
value={ attributes.description || '' }
onChange={ ( description ) => {
Expand Down Expand Up @@ -235,7 +228,7 @@ function NavigationMenuItemEdit( {
currentSettings={ [
{
id: 'opensInNewTab',
title: __( 'Open in New Tab' ),
title: __( 'Open in new tab' ),
checked: opensInNewTab,
},
] }
Expand Down

0 comments on commit e071126

Please sign in to comment.