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