Skip to content

Commit

Permalink
SAM-3380 - JS Error when you enter Event Log (sakaiproject#5392)
Browse files Browse the repository at this point in the history
  • Loading branch information
SedueRey authored and ern committed Mar 9, 2018
1 parent e548aa4 commit 72f83dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samigo/samigo-app/src/webapp/js/eventInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $(document).ready(
$(tr).css('color','#AAA');
});
$("#eventLogId\\:assessmentTitle option").each(function(){
if(this.innerHTML.contains('-deleted')){
if(typeof this.innerHTML.contains !== "undefined" && this.innerHTML.contains('-deleted')){
this.style="color:#AAA";
}
});
Expand Down

0 comments on commit 72f83dd

Please sign in to comment.