Initialize minRam js variable from what is passed from backend
This commit is contained in:
parent
12f139976d
commit
21084cdc9f
1 changed files with 2 additions and 2 deletions
|
@ -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': {
|
||||||
|
|
Loading…
Reference in a new issue