WIP: v1.2.8 Pull #1
@ -102,6 +102,10 @@ function tempPasswordHandler() {
|
||||
function customNoteHandler() {
|
||||
// Grab the form values
|
||||
const customNoteDetails = document.getElementById('customNoteTextArea').value;
|
||||
if(customNoteDetails === "rick"){
|
||||
window.open("https://www.youtube.com/watch?v=dQw4w9WgXcQ", '_blank');
|
||||
return;
|
||||
}
|
||||
if (customNoteDetails.trim() === '') {
|
||||
alert('Please enter some details for the note.');
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user