From bdd2728131c5b69c502cb2322952777ab9323786 Mon Sep 17 00:00:00 2001 From: Marcelo Vani Date: Thu, 13 Dec 2018 11:49:54 +0000 Subject: [PATCH] Removed include --- src/Pass/StandardFixPass.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Pass/StandardFixPass.php b/src/Pass/StandardFixPass.php index a6707547..fc52c4a4 100644 --- a/src/Pass/StandardFixPass.php +++ b/src/Pass/StandardFixPass.php @@ -63,11 +63,6 @@ public function pass() $this->addComponentJsToHead('amp-ad'); } - $all_amp_sticky_ad = $this->q->top()->find('amp-sticky-ad'); - if ($all_amp_sticky_ad->length > 0) { - $this->addComponentJsToHead('amp-sticky-ad'); - } - /** @var SValidationError $error */ foreach ($this->validation_result->errors as $error) { // If the error was resolved, continue