prevent event propagation when clicking on CDM article footer
This commit is contained in:
parent
0f037312a0
commit
5a45821ec9
2 changed files with 5 additions and 1 deletions
|
@ -687,7 +687,7 @@ class Feeds extends Handler_Protected {
|
||||||
|
|
||||||
$reply['content'] .= "</div>";
|
$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) {
|
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ARTICLE_LEFT_BUTTON) as $p) {
|
||||||
$reply['content'] .= $p->hook_article_left_button($line);
|
$reply['content'] .= $p->hook_article_left_button($line);
|
||||||
|
|
|
@ -2447,3 +2447,7 @@ function updateFloatingTitle(unread_only) {
|
||||||
exception_error("updateFloatingTitle", e);
|
exception_error("updateFloatingTitle", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function cdmFooterClick(event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
}
|
Loading…
Reference in a new issue