opening transitions in same window
This commit is contained in:
parent
88f844c71c
commit
5b4486019f
|
@ -166,11 +166,11 @@ export function jumpToPrompt(prompt: String, inferenceResults: InferenceResult[]
|
|||
}
|
||||
if (firstTimePromptAppears == -1) {
|
||||
let url = generateLinkToUpcomingPrompt(prompt, nowPlayingResult)
|
||||
window.open(url, "_blank").focus();
|
||||
window.location.href = url;
|
||||
}
|
||||
else {
|
||||
let url = generateLinkToPreviousInput(inferenceResults[firstTimePromptAppears].input)
|
||||
window.open(url, "_blank").focus();
|
||||
window.location.href = url;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ export const samplePrompts = [
|
|||
"post-teen pop talent show winner",
|
||||
"sean paul dancehall",
|
||||
"mambo but from kenya",
|
||||
"jack johnson vocals",
|
||||
"swing jazz trumpet",
|
||||
"bubblegum eurodance",
|
||||
];
|
||||
|
@ -38,7 +39,7 @@ export const rollTheDicePrompts = [
|
|||
"water drops",
|
||||
"british soul dance",
|
||||
"pop r&b urban contemporary",
|
||||
"baroque pop new wave",
|
||||
"baroque new wave pop",
|
||||
"reggae fusion",
|
||||
"tropical german dance house",
|
||||
// TODO: consider adding samplePrompts to this list when using it
|
||||
|
|
Loading…
Reference in New Issue