diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-17 19:15:36 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-17 19:15:36 +0100 |
| commit | 31776745681b8a7d03d53b9c7d227762336e6fdf (patch) | |
| tree | d90148da2d673fd3f8f11c5d8448103bb9368b60 /frontend/app/views/page/components/tile.form.js | |
| parent | d9fc65fe05f534691597586f25a2f168364ae1cf (diff) | |
play audio on click and navigate when finished
Diffstat (limited to 'frontend/app/views/page/components/tile.form.js')
| -rw-r--r-- | frontend/app/views/page/components/tile.form.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/app/views/page/components/tile.form.js b/frontend/app/views/page/components/tile.form.js index d6272bc..4fb00a3 100644 --- a/frontend/app/views/page/components/tile.form.js +++ b/frontend/app/views/page/components/tile.form.js @@ -153,7 +153,7 @@ const newPosition = (data) => ({ has_audio: false, audio_on_click_id: 0, audio_on_hover_id: 0, - wait_for_audio_on_click: false, + navigate_when_audio_finishes: false, ...data, }) @@ -778,8 +778,8 @@ class TileForm extends Component { <Checkbox label="Navigate when audio finishes" - name="wait_for_audio_on_click" - checked={temporaryTile.settings.wait_for_audio_on_click} + name="navigate_when_audio_finishes" + checked={temporaryTile.settings.navigate_when_audio_finishes} onChange={this.handleSettingsSelect} autoComplete="off" /> |
