|  | @@ -953,9 +953,8 @@ throw new Error('AdminLTE requires jQuery')
 | 
	
		
			
				|  |  |      this.element = element
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  DirectChat.prototype.toggle = function () {
 | 
	
		
			
				|  |  | -    var box = $(this).parents(Selector.box).first();
 | 
	
		
			
				|  |  | -    box.toggleClass(ClassName.open);
 | 
	
		
			
				|  |  | +  DirectChat.prototype.toggle = function ($trigger) {
 | 
	
		
			
				|  |  | +    $trigger.parents(Selector.box).first().toggleClass(ClassName.open)
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    // Plugin Definition
 | 
	
	
		
			
				|  | @@ -969,7 +968,7 @@ throw new Error('AdminLTE requires jQuery')
 | 
	
		
			
				|  |  |          $this.data(DataKey, (data = new DirectChat($this)))
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -      if (typeof option == 'string') data.toggle()
 | 
	
		
			
				|  |  | +      if (typeof option == 'string') data.toggle($this)
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  
 |