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