Merge pull request #341 from levivm/master

fixed credit card input issue
This commit is contained in:
Levi Velázquez 2017-06-15 11:33:27 -05:00 committed by GitHub
commit 65cca56ab8
2 changed files with 1 additions and 18 deletions

View file

@ -52,5 +52,4 @@
* Initial stable release * Initial stable release
Next: Next:
[datacenterlight] Fixed error trying to delete ssh key [datacenterlight] Fixed credit card input issue
[datacenterlight] Fixed footer links

View file

@ -9,13 +9,11 @@
$(document).ready(function(){ $(document).ready(function(){
_initOs(); _initOs();
_ifOverflow();
}); });
$(window).resize(function(){ $(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');
}
}