mirror of https://github.com/twbs/bootstrap.git
				
				
				
			fix unit test modal
This commit is contained in:
		
							parent
							
								
									69e4d4f3ac
								
							
						
					
					
						commit
						bcbea02886
					
				| 
						 | 
				
			
			@ -549,7 +549,7 @@ $(function () {
 | 
			
		|||
 | 
			
		||||
    $('<div id="modal-test"/>')
 | 
			
		||||
      .on('hidden.bs.modal', function () {
 | 
			
		||||
        assert.strictEqual($body.attr('style').indexOf('padding-right'), -1, 'body does not have inline padding set')
 | 
			
		||||
        assert.strictEqual($body.css('padding-left'), '0px', 'body does not have inline padding set')
 | 
			
		||||
        $style.remove()
 | 
			
		||||
        done()
 | 
			
		||||
      })
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue