Merge pull request #341 from levivm/master
fixed credit card input issue
This commit is contained in:
		
				commit
				
					
						65cca56ab8
					
				
			
		
					 2 changed files with 1 additions and 18 deletions
				
			
		|  | @ -52,5 +52,4 @@ | |||
|     * Initial stable release | ||||
| 
 | ||||
|     Next: | ||||
|        [datacenterlight] Fixed error trying to delete ssh key | ||||
|        [datacenterlight] Fixed footer links | ||||
|        [datacenterlight] Fixed credit card input issue | ||||
|  |  | |||
|  | @ -9,13 +9,11 @@ | |||
|      | ||||
|     $(document).ready(function(){ | ||||
|       _initOs(); | ||||
|       _ifOverflow(); | ||||
|         | ||||
|     }); | ||||
|      | ||||
|     $(window).resize(function(){ | ||||
|          | ||||
|       _ifOverflow(); | ||||
|          | ||||
|     }); | ||||
|      | ||||
|  | @ -67,20 +65,6 @@ | |||
|         } | ||||
| 		}); | ||||
| 	} | ||||
|    	function _ifOverflow(){ | ||||
| 
 | ||||
|    		var dcContainer=  document.getElementById('dcContainer'); | ||||
|    		var containerOs=  document.getElementById('containerOs'); | ||||
|    		console.log('d-c', dcContainer.offsetWidth-20); | ||||
|    		console.log('d-os', containerOs.scrollWidth); | ||||
| 
 | ||||
|    		if(dcContainer.offsetWidth-20 < containerOs.scrollWidth){ | ||||
|    			console.log('oooVerrflowwww'); | ||||
|    		} | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|    	} | ||||
|      | ||||
|      | ||||
|      | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue