Browse Source

修复一处 htmlFor 指向问题。

oldj 8 years ago
parent
commit
1b0750ba28
2 changed files with 4 additions and 4 deletions
  1. 2 2
      app/bundle.js
  2. 2 2
      ui/frame/edit.js

+ 2 - 2
app/bundle.js

@@ -21934,7 +21934,7 @@ var EditPrompt = function (_React$Component) {
             { htmlFor: 'ipt-remote' },
             lang.where_remote
           ),
-          _react2.default.createElement('input', { id: 'ipt-remote', type: 'radio', name: 'where', value: 'group',
+          _react2.default.createElement('input', { id: 'ipt-group', type: 'radio', name: 'where', value: 'group',
             checked: this.state.where === 'group',
             onChange: function onChange(e) {
               return _this5.setState({ where: e.target.value });
@@ -21942,7 +21942,7 @@ var EditPrompt = function (_React$Component) {
           }),
           _react2.default.createElement(
             'label',
-            { htmlFor: 'ipt-remote' },
+            { htmlFor: 'ipt-group' },
             lang.where_group
           )
         ),

+ 2 - 2
ui/frame/edit.js

@@ -276,11 +276,11 @@ export default class EditPrompt extends React.Component {
                  onChange={(e) => this.setState({where: e.target.value})}
           />
           <label htmlFor="ipt-remote">{lang.where_remote}</label>
-          <input id="ipt-remote" type="radio" name="where" value="group"
+          <input id="ipt-group" type="radio" name="where" value="group"
                  checked={this.state.where === 'group'}
                  onChange={(e) => this.setState({where: e.target.value})}
           />
-          <label htmlFor="ipt-remote">{lang.where_group}</label>
+          <label htmlFor="ipt-group">{lang.where_group}</label>
         </div>
         <div className="ln">
           <div className="title">{lang.host_title}</div>