Make sure that an A entry in an annotation dictionary is also a dictionary itself
This commit is contained in:
		
							parent
							
								
									1b8e44e0d8
								
							
						
					
					
						commit
						06004d6a92
					
				@ -485,7 +485,7 @@ var LinkAnnotation = (function LinkAnnotationClosure() {
 | 
			
		||||
    data.annotationType = AnnotationType.LINK;
 | 
			
		||||
 | 
			
		||||
    var action = dict.get('A');
 | 
			
		||||
    if (action) {
 | 
			
		||||
    if (action && isDict(action)) {
 | 
			
		||||
      var linkType = action.get('S').name;
 | 
			
		||||
      if (linkType === 'URI') {
 | 
			
		||||
        var url = action.get('URI');
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user