mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:35:55 +00:00
prevent event propagation when clicking on CDM article footer
This commit is contained in:
@@ -687,7 +687,7 @@ class Feeds extends Handler_Protected {
|
||||
|
||||
$reply['content'] .= "</div>";
|
||||
|
||||
$reply['content'] .= "<div class=\"cdmFooter\">";
|
||||
$reply['content'] .= "<div class=\"cdmFooter\" onclick=\"cdmFooterClick(event)\">";
|
||||
|
||||
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ARTICLE_LEFT_BUTTON) as $p) {
|
||||
$reply['content'] .= $p->hook_article_left_button($line);
|
||||
|
||||
@@ -2447,3 +2447,7 @@ function updateFloatingTitle(unread_only) {
|
||||
exception_error("updateFloatingTitle", e);
|
||||
}
|
||||
}
|
||||
|
||||
function cdmFooterClick(event) {
|
||||
event.stopPropagation();
|
||||
}
|
||||
Reference in New Issue
Block a user