Explorar el Código

Update functions.js

Updated buildPVRLink to render blank if blank href passed
Jesse Hickman hace 4 años
padre
commit
7702cd8985
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      js/functions.js

+ 5 - 1
js/functions.js

@@ -6966,7 +6966,11 @@ function buildPVRLink(href, ico){
 		return `
 		<div class="btn btn-inverse waves-effect waves-light" type="button" onclick="window.open('${href}')" style="${styleOverride}"></div>
 		`;
-	} 
+	} else {
+		return `
+		 
+		`;
+	}
 }
 function buildCalendarMetadata(array){
 	var metadata = '';