Skip to content

Commit

Permalink
merge commit 'bdd2728'
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelovani committed Dec 13, 2018
2 parents 3d614a5 + bdd2728 commit a55108d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Pass/StandardFixPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a55108d

Please sign in to comment.