Initialize minRam js variable from what is passed from backend

This commit is contained in:
PCoder 2018-09-27 09:07:28 +02:00
parent 12f139976d
commit 21084cdc9f
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@
Scripts initialization Scripts initialization
--------------------------------------------- */ --------------------------------------------- */
var minRam = 1; var minRam = 1;
if(window.enable_512mb){ if(window.minRam){
minRam = 0.5; minRam = window.minRam;
} }
var cardPricing = { var cardPricing = {
'cpu': { 'cpu': {