From: Andrew Dolgov Date: Thu, 18 Jun 2015 13:00:03 +0000 (+0300) Subject: prevent event propagation when clicking on CDM article footer X-Git-Tag: 16.3~278 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5a45821ec9132de96396f1855024896eb3dcc389;p=tt-rss.git prevent event propagation when clicking on CDM article footer --- diff --git a/classes/feeds.php b/classes/feeds.php index 37a7cc89..9dccdbc8 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -687,7 +687,7 @@ class Feeds extends Handler_Protected { $reply['content'] .= ""; - $reply['content'] .= "
"; + $reply['content'] .= "
"; foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ARTICLE_LEFT_BUTTON) as $p) { $reply['content'] .= $p->hook_article_left_button($line); diff --git a/js/viewfeed.js b/js/viewfeed.js index ea815007..e346b296 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -2447,3 +2447,7 @@ function updateFloatingTitle(unread_only) { exception_error("updateFloatingTitle", e); } } + +function cdmFooterClick(event) { + event.stopPropagation(); +} \ No newline at end of file