Skip to content

Commit

Permalink
fix: livereload tag added when livereload was disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Mar 11, 2024
1 parent a269e26 commit 1818083
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RockFrontend.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -1508,6 +1508,7 @@ public function lighten($hex, $percent): string
protected function livereloadAddMarkup(HookEvent $event)
{
$config = $this->wire->config;
if (!$config->livereload) return;
if ($config->ajax) return;
if ($config->external) return;
if ($this->livereloadAdded) return;
Expand Down

0 comments on commit 1818083

Please sign in to comment.