I'm running into an error which reads as follow in the console of my Google Chrome browser:
Uncaught SyntaxError: Unexpected end of input
Below is my code:
/*===== Login Alert ======*/
function loginAlert() {
swal({
title: "Login Required",
type: 'error',
text: "Please <a href='/login'>login</a> first to submit your ticket.",
html: true,
});
}
What am I doing wrong and how can I resolve it?