Skip to content

Commit

Permalink
Issue #864: Remove extra line in set_layout().
Browse files Browse the repository at this point in the history
I had copied this line into the block above.
But it's not needed there.
  • Loading branch information
Ryan Kienstra committed Feb 6, 2018
1 parent 87e8501 commit 936f302
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/sanitizers/class-amp-base-sanitizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ public function set_layout( $attributes ) {
if ( empty( $attributes['height'] ) ) {
unset( $attributes['width'] );
$attributes['height'] = self::FALLBACK_HEIGHT;
$attributes['layout'] = 'fixed-height';
}
if ( empty( $attributes['width'] ) ) {
$attributes['layout'] = 'fixed-height';
Expand Down

0 comments on commit 936f302

Please sign in to comment.