From 6e85735b5bfd232ad7f089d196f5440007310bae Mon Sep 17 00:00:00 2001 From: ichim-david Date: Tue, 15 Sep 2015 22:43:34 +0300 Subject: [PATCH] Fix reply button visibility toggle by javascript --- CHANGES.rst | 4 +++- plone/app/discussion/browser/javascripts/comments.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 295b706..b57a225 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,7 +4,9 @@ Changelog 2.4.8 (unreleased) ------------------ -- Nothing changed yet. +- Fix reply button not showing up since it uses a hide class which needs + to be removed instead of a display value + [ichim-david] 2.4.7 (2015-09-15) diff --git a/plone/app/discussion/browser/javascripts/comments.js b/plone/app/discussion/browser/javascripts/comments.js index 32eb30a..0a9eb12 100644 --- a/plone/app/discussion/browser/javascripts/comments.js +++ b/plone/app/discussion/browser/javascripts/comments.js @@ -257,7 +257,7 @@ require([ // jshint ignore:line * Otherwise hide it, since the reply functions only work with JS * enabled. **********************************************************************/ - $('.reply-to-comment-button').css('display' , 'inline'); + $('.reply-to-comment-button').removeClass('hide'); });