From 1a1b05f2f8683e40503d7f3dee001d9532a1f971 Mon Sep 17 00:00:00 2001 From: Levi Date: Wed, 14 Jun 2017 12:50:51 -0500 Subject: [PATCH] fixed credit card input issu --- Changelog | 3 +-- hosting/static/hosting/js/createvm.js | 15 --------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/Changelog b/Changelog index db5482c8..966f0868 100644 --- a/Changelog +++ b/Changelog @@ -47,5 +47,4 @@ * Initial stable release Next: - [datacenterlight] Fixed error trying to delete ssh key - [datacenterlight] Fixed footer links + [datacenterlight] Fixed credit card input issue diff --git a/hosting/static/hosting/js/createvm.js b/hosting/static/hosting/js/createvm.js index ca7891ea..fab5aa8f 100644 --- a/hosting/static/hosting/js/createvm.js +++ b/hosting/static/hosting/js/createvm.js @@ -15,7 +15,6 @@ $(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'); - } - - - - }