mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 05:45:56 +00:00
remove some plugin JS code out of global context
This commit is contained in:
@@ -907,8 +907,8 @@ class Article extends Handler_Protected {
|
||||
|
||||
static function format_article_note($id, $note, $allow_edit = true) {
|
||||
|
||||
$str = "<div class='articleNote' onclick=\"editArticleNote($id)\">
|
||||
<div class='noteEdit' onclick=\"editArticleNote($id)\">".
|
||||
$str = "<div class='articleNote' onclick=\"Plugins.Note.edit($id)\">
|
||||
<div class='noteEdit' onclick=\"Plugins.Note.edit($id)\">".
|
||||
($allow_edit ? __('(edit note)') : "")."</div>$note</div>";
|
||||
|
||||
return $str;
|
||||
|
||||
Reference in New Issue
Block a user