This commit is contained in:
Rudis Muiznieks 2023-09-25 13:08:57 -05:00
parent 68a7345dac
commit c9983fcbfd
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
1 changed files with 1 additions and 1 deletions

View File

@ -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', '');