diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/index.html b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/index.html
index 26cdc954e6f7c0e428a44f6be1243f5440203945..373ad2681a3800c64f44b21a63d7be816ce474bc 100644
--- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/index.html
+++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/index.html
@@ -188,7 +188,7 @@
 	//
 	$(document).click(function(e) {
 		var elementClasses = $(e.target).attr('class');
-		if(elementClasses.indexOf("browser-compatible-javascript-link") !== -1) {
+		if(elementClasses && elementClasses.indexOf("browser-compatible-javascript-link") !== -1) {
 			e.preventDefault();
 			e.stopPropagation();
 		}