mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-12 16:48:10 +00:00
sound/Sound: fix passing of 'log' option to setAttribute
This commit is contained in:
parent
483a8e34be
commit
6342d2260f
@ -156,7 +156,7 @@ export class Sound extends PsychObject
|
|||||||
{
|
{
|
||||||
if (sound instanceof Sound)
|
if (sound instanceof Sound)
|
||||||
{
|
{
|
||||||
this._setAttribute('value', sound.value);
|
this._setAttribute('value', sound.value, log);
|
||||||
|
|
||||||
if (typeof this._player !== 'undefined')
|
if (typeof this._player !== 'undefined')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user