From 1a1b05f2f8683e40503d7f3dee001d9532a1f971 Mon Sep 17 00:00:00 2001 From: Levi Date: Wed, 14 Jun 2017 12:50:51 -0500 Subject: [PATCH 1/2] 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'); - } - - - - } From 3a1158cab0e0e37a75fd5d19b3e8898175f5db2a Mon Sep 17 00:00:00 2001 From: Levi Date: Wed, 14 Jun 2017 13:05:39 -0500 Subject: [PATCH 2/2] cleaned up file createvm.js --- hosting/static/hosting/js/createvm.js | 1 - 1 file changed, 1 deletion(-) diff --git a/hosting/static/hosting/js/createvm.js b/hosting/static/hosting/js/createvm.js index fab5aa8f..53646b40 100644 --- a/hosting/static/hosting/js/createvm.js +++ b/hosting/static/hosting/js/createvm.js @@ -9,7 +9,6 @@ $(document).ready(function(){ _initOs(); - _ifOverflow(); });