Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Changed FormDropdown to SettingsDropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Feb 1, 2017
1 parent bbaa6b8 commit 030e790
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/about/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const SwitchControl = require('../components/switchControl')
const ModalOverlay = require('../components/modalOverlay')
const {SettingsList, SettingItem} = require('../../app/renderer/components/settings')
const {SettingTextbox} = require('../../app/renderer/components/textbox')
const {FormDropdown, SettingDropdown} = require('../../app/renderer/components/dropdown')
const {SettingDropdown} = require('../../app/renderer/components/dropdown')
const Button = require('../components/button')

// Tabs
Expand Down Expand Up @@ -836,13 +836,13 @@ class TabsTab extends ImmutableComponent {
</SettingDropdown>
</SettingItem>
<SettingItem dataL10nId='tabCloseAction'>
<FormDropdown
<SettingDropdown
value={getSetting(settings.TAB_CLOSE_ACTION, this.props.settings)}
onChange={changeSetting.bind(null, this.props.onChangeSetting, settings.TAB_CLOSE_ACTION)}>
<option data-l10n-id='tabCloseActionLastActive' value={tabCloseAction.LAST_ACTIVE} />
<option data-l10n-id='tabCloseActionNext' value={tabCloseAction.NEXT} />
<option data-l10n-id='tabCloseActionParent' value={tabCloseAction.PARENT} />
</FormDropdown>
</SettingDropdown>
</SettingItem>
<SettingCheckbox dataL10nId='switchToNewTabs' prefKey={settings.SWITCH_TO_NEW_TABS} settings={this.props.settings} onChangeSetting={this.props.onChangeSetting} />
<SettingCheckbox dataL10nId='paintTabs' prefKey={settings.PAINT_TABS} settings={this.props.settings} onChangeSetting={this.props.onChangeSetting} />
Expand Down

0 comments on commit 030e790

Please sign in to comment.