Skip to content

Commit

Permalink
Fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Søholm committed Jul 1, 2019
1 parent 4e9e5f5 commit db22241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/workspace_audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit db22241

Please sign in to comment.