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
+2 -2
View File
@@ -1252,7 +1252,7 @@
}, },
"HomeCarousels": { "HomeCarousels": {
"name": "enableHomeCarousels", "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", "native_description": "Enable carousels on home",
"version": { "version": {
"fr": "1.2.44", "fr": "1.2.44",
@@ -2083,4 +2083,4 @@
"replace": "=>{ return null; $1" "replace": "=>{ return null; $1"
} }
} }
} }
+2 -2
View File
@@ -1113,8 +1113,8 @@ function Helper($paramname) {
$Disable = $webjson.others.DisableExp $Disable = $webjson.others.DisableExp
$Custom = $webjson.others.CustomExp $Custom = $webjson.others.CustomExp
# carousel is temporarily disabled because it causes lags in the main menu # causes lags in the main menu 1.2.44-1.2.56
Move-Json -n 'HomeCarousels' -t $Enable -f $Disable if ([version]$offline -le [version]'1.2.56.502') { Move-Json -n 'HomeCarousels' -t $Enable -f $Disable }
# temporarily disable collapsing right sidebar # temporarily disable collapsing right sidebar
Move-Json -n 'PeekNpv' -t $Enable -f $Disable Move-Json -n 'PeekNpv' -t $Enable -f $Disable