Skip to content

Commit

Permalink
Merge pull request #6 from LidskaSila/master
Browse files Browse the repository at this point in the history
fixed compatibility with nette 2.4
  • Loading branch information
simPod authored Jul 18, 2017
2 parents 51df775 + b1f30b2 commit 204de1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ValidatorPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -795,8 +795,8 @@ class ValidatorPanel extends Nette\Object implements Tracy\IBarPanel
public function getTab()
{
return Html::el('span', ['title' => 'HTML Validator'])
->add(Html::el()->setHtml(file_get_contents(__DIR__ . '/html_icon.svg')))
->add(Html::el('span', ['class' => 'tracy-label'])->setText($this->errors ? (count($this->errors) . ' problems') : 'OK'));
->addHtml(Html::el()->setHtml(file_get_contents(__DIR__ . '/html_icon.svg')))
->addHtml(Html::el('span', ['class' => 'tracy-label'])->setText($this->errors ? (count($this->errors) . ' problems') : 'OK'));
}


Expand Down

0 comments on commit 204de1d

Please sign in to comment.