fixed version range for canvas blocking on the main page

This commit is contained in:
amd64fox
2025-10-17 13:34:40 +03:00
parent 9dc6126f69
commit eb56ce0255

View File

@@ -2135,7 +2135,7 @@ if ($test_spa) {
default { $null }
}
if (!($calltype -eq "'canvas'" -and [version]$offline -le [version]"1.2.52.442")) {
if (!($calltype -eq "'canvas'" -and [version]$offline -le [version]"1.2.44.405")) {
$section = $section -replace "sectionBlock\(data, ''\)", "sectionBlock(data, $calltype)"
injection -p $xpui_spa_patch -f "spotx-helper" -n "sectionBlock.js" -c $section
}