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
--------------------------------------------- */
var minRam = 1;
if(window.enable_512mb){
minRam = 0.5;
if(window.minRam){
minRam = window.minRam;
}
var cardPricing = {
'cpu': {