fixed credit card input issu
This commit is contained in:
parent
2f7adf70f6
commit
1a1b05f2f8
2 changed files with 1 additions and 17 deletions
|
@ -47,5 +47,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
|
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
|
|
||||||
$(window).resize(function(){
|
$(window).resize(function(){
|
||||||
|
|
||||||
_ifOverflow();
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -67,20 +66,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…
Reference in a new issue