mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Fixed indentation
This commit is contained in:
parent
4e9e5f58a9
commit
db222411bf
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ Blockly.WorkspaceAudio.prototype.preload = function() {
|
|||
// If we don't wait for the play request to complete before calling pause() we will get an exception:
|
||||
// Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
|
||||
// See more: https://developers.google.com/web/updates/2017/06/play-request-was-interrupted
|
||||
playPromise.then(sound.pause).catch(function() {
|
||||
playPromise.then(sound.pause).catch(function() {
|
||||
// Play without user interaction was prevented.
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue