diff --git a/src/Views/Honey.php b/src/Views/Honey.php index b18648c..c065a40 100644 --- a/src/Views/Honey.php +++ b/src/Views/Honey.php @@ -20,23 +20,25 @@ public function __construct(InputNameSelector $inputNameSelector) public function render() { return <<<'blade' - @once - - @endonce + @if (in_array(\Lukeraymonddowning\Honey\Checks\JavascriptInputFilledCheck::class, config('honey.checks'))) + @once + + @endonce + @endif
@@ -63,4 +65,4 @@ public function javascriptTimeout() { return config('honey.minimum_time_passed') * 1000; } -} \ No newline at end of file +}