diff --git a/src/RevisionSliderHooks.php b/src/RevisionSliderHooks.php index e33541bb..52e3db8a 100644 --- a/src/RevisionSliderHooks.php +++ b/src/RevisionSliderHooks.php @@ -45,6 +45,11 @@ class RevisionSliderHooks { return true; } + // do not show on MobileDiff page + if ( $diff->getTitle()->isSpecial( 'MobileDiff' ) ) { + return true; + } + $config = self::getConfig(); /**