return of carousel in 1.2.57+

This commit is contained in:
amd64fox
2025-02-15 11:24:50 +03:00
parent b20dd48e1f
commit 2ed8681be9
2 changed files with 4 additions and 4 deletions

View File

@@ -1252,7 +1252,7 @@
},
"HomeCarousels": {
"name": "enableHomeCarousels",
"description": "Enable carousels on home (carousel is temporarily disabled because it causes lags in the main menu)",
"description": "Enable carousels on home (causes lags in the main menu 1.2.44-1.2.56)",
"native_description": "Enable carousels on home",
"version": {
"fr": "1.2.44",
@@ -2083,4 +2083,4 @@
"replace": "=>{ return null; $1"
}
}
}
}

View File

@@ -1113,8 +1113,8 @@ function Helper($paramname) {
$Disable = $webjson.others.DisableExp
$Custom = $webjson.others.CustomExp
# carousel is temporarily disabled because it causes lags in the main menu
Move-Json -n 'HomeCarousels' -t $Enable -f $Disable
# causes lags in the main menu 1.2.44-1.2.56
if ([version]$offline -le [version]'1.2.56.502') { Move-Json -n 'HomeCarousels' -t $Enable -f $Disable }
# temporarily disable collapsing right sidebar
Move-Json -n 'PeekNpv' -t $Enable -f $Disable