wip
This commit is contained in:
parent
f3d4d9e033
commit
0fa26c9975
|
@ -25,7 +25,7 @@ class KagiSummarizerExtension extends Minz_Extension {
|
|||
public function addSummarizeButton(FreshRSS_Entry $entry): FreshRSS_Entry {
|
||||
$this->registerTranslates();
|
||||
|
||||
$entry->_content('<p class="kagi-summary"><a class="btn" href="#">' . _t('ext.kagiSummarizer.ui.summarize_button') . '</a></p><script>console.log("executed embedded script");</script>' . $entry->content());
|
||||
$entry->_content('<p onclick="documentReady(); return false;" class="kagi-summary"><a class="btn" href="#">' . _t('ext.kagiSummarizer.ui.summarize_button') . '</a></p>' . $entry->content());
|
||||
return $entry;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue