Fix reply buttons not being available on mobile

Change-Id: Ie78f66e61c7afc4b9d2310b11d84cf26f28a52e6
This commit is contained in:
Bartosz Dziewoński 2022-08-01 23:29:01 +02:00
parent 35db93d9f5
commit f7606ffa57

View file

@ -298,7 +298,7 @@ class HookUtils {
// Even though mobile ignores user preferences, VISUALENHANCEMENTS must
// still be disabled if is unavailable on the wiki.
(
$feature === static::VISUALENHANCEMENTS &&
( $feature === static::VISUALENHANCEMENTS || $feature === static::VISUALENHANCEMENTS_REPLY ) &&
$dtConfig->get( 'DiscussionTools_' . $feature ) !== 'unavailable'
)
);