From c9983fcbfd27202d7ee55deb429688faeeaee04c Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Mon, 25 Sep 2023 13:08:57 -0500 Subject: [PATCH] wip --- extension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension.php b/extension.php index 22eb2db..bbf7738 100644 --- a/extension.php +++ b/extension.php @@ -3,6 +3,7 @@ class KagiSummarizerExtension extends Minz_Extension { public function init() { $this->registerTranslates(); + $this->registerHook('entry_before_display', [$this, 'addSummarizeButton']); //Minz_View::appendScript($this->getFileUrl('script.js', 'js'), false, false, false); //Minz_View::appendStyle($this->getFileUrl('style.css', 'css')); @@ -14,7 +15,6 @@ class KagiSummarizerExtension extends Minz_Extension { public function handleConfigureAction() { $this->registerTranslates(); - $this->registerHook('entry_before_display', [$this, 'addSummarizeButton']); if (Minz_Request::isPost()) { $kagi_token = Minz_Request::param('kagi_token', '');