Skip to content

Commit

Permalink
Merge pull request #572 from nathan/stop-all
Browse files Browse the repository at this point in the history
Truncate queue on stopAll instead of assigning a new array
  • Loading branch information
nathan committed Mar 19, 2016
2 parents 9e19fea + 0a1bc88 commit 3a42643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phosphorus.js
Original file line number Diff line number Diff line change
Expand Up @@ -3758,7 +3758,7 @@ P.runtime = (function() {
this.hidePrompt = false;
this.prompter.style.display = 'none';
this.promptId = this.nextPromptId = 0;
this.queue = [];
this.queue.length = 0;
this.resetFilters();
this.stopSounds();
for (var i = 0; i < this.children.length; i++) {
Expand Down

0 comments on commit 3a42643

Please sign in to comment.