1
0
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:
Sotiri Bakagiannis 2020-08-31 12:00:14 +01:00
parent 483a8e34be
commit 6342d2260f

View File

@ -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')
{ {