Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
invaders-xx authored and github-actions[bot] committed Sep 8, 2022
1 parent 18a8fbc commit 8677aac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Forms/JSONEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ public function getHeight(): ?int

public function getModes(): ?string
{
if ($this->isDisabled())
{
if ($this->isDisabled()) {
$this->modes = ['preview'];
}

return json_encode($this->evaluate($this->modes));
}

Expand Down

0 comments on commit 8677aac

Please sign in to comment.