Skip to content

Commit

Permalink
Fixes to Display Song Data in URL Preference
Browse files Browse the repository at this point in the history
  • Loading branch information
choptop84 committed May 2, 2024
1 parent 76da20d commit d614fe7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion editor/SongDocument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export class SongDocument {
this._sequenceNumber = state.sequenceNumber;
this.prompt = state.prompt;
try {
new ChangeSong(this, window.location.hash);
new ChangeSong(this, this._getHash());
} catch (error) {
errorAlert(error);
}
Expand Down
2 changes: 1 addition & 1 deletion website/beepbox_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -55744,7 +55744,7 @@ You should be redirected to the song at:<br /><br />
this._sequenceNumber = state.sequenceNumber;
this.prompt = state.prompt;
try {
new ChangeSong(this, window.location.hash);
new ChangeSong(this, this._getHash());
}
catch (error) {
errorAlert(error);
Expand Down
2 changes: 1 addition & 1 deletion website/beepbox_editor.min.js

Large diffs are not rendered by default.

0 comments on commit d614fe7

Please sign in to comment.