Skip to content

Commit

Permalink
removed fix for IE
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 16, 2023
1 parent ff9ffb2 commit 325372a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/Bridges/FormsLatte/Runtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ public static function renderFormEnd(Form $form, bool $withTags = true): string
}
}

if (iterator_count($form->getComponents(true, Nette\Forms\Controls\TextInput::class)) < 2) {
$s .= "<!--[if IE]><input type=IEbug disabled style=\"display:none\"><![endif]-->\n";
}

return $s . ($withTags ? $form->getElementPrototype()->endTag() . "\n" : '');
}

Expand Down
4 changes: 0 additions & 4 deletions src/Forms/Rendering/DefaultFormRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,6 @@ public function renderEnd(): string
}
}

if (iterator_count($this->form->getComponents(true, Nette\Forms\Controls\TextInput::class)) < 2) {
$s .= '<!--[if IE]><input type=IEbug disabled style="display:none"><![endif]-->';
}

if ($s) {
$s = $this->getWrapper('hidden container')->setHtml($s) . "\n";
}
Expand Down

0 comments on commit 325372a

Please sign in to comment.