소스 검색

fix(video-quality): change click handler location on label

This will prevent the quality dialog from closing when changing
desired quality level.
j8
Leonard Kim 8 년 전
부모
커밋
830ec3d097
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4
    3
      react/features/video-quality/components/VideoQualityLabel.web.js

+ 4
- 3
react/features/video-quality/components/VideoQualityLabel.web.js 파일 보기

@@ -163,14 +163,15 @@ export class VideoQualityLabel extends Component {
163 163
         return (
164 164
             <div
165 165
                 className = { classNames }
166
-                id = 'videoResolutionLabel'
167
-                onClick = { this._onDialogToggle }>
166
+                id = 'videoResolutionLabel'>
168 167
                 <AKInlineDialog
169 168
                     content = { <VideoQualityDialog /> }
170 169
                     isOpen = { this.state.showVideoQualityDialog }
171 170
                     onClose = { this._onDialogClose }
172 171
                     position = { 'left top' }>
173
-                    <div className = 'video-quality-label-status'>
172
+                    <div
173
+                        className = 'video-quality-label-status'
174
+                        onClick = { this._onDialogToggle }>
174 175
                         { _audioOnly
175 176
                             ? <i className = 'icon-visibility-off' />
176 177
                             : this._mapResolutionToTranslation(_resolution) }

Loading…
취소
저장