diff --git a/public/style.css b/public/style.css index d6e3fe2..ab89d2e 100644 --- a/public/style.css +++ b/public/style.css @@ -164,11 +164,12 @@ } /*===== Communities rate hotspot extra fields =====*/ -#comments-additional-information { - cursor: pointer; -} .comments-software-extra-fields div { display: none; } +#content .star-rate-form .star-comment-container .comments-display-fields { + cursor: pointer; +} + diff --git a/public/views/comments-software-extra-fields.js b/public/views/comments-software-extra-fields.js index e49a2fe..c270cd9 100644 --- a/public/views/comments-software-extra-fields.js +++ b/public/views/comments-software-extra-fields.js @@ -6,7 +6,7 @@ modulejs.define('CommentsSoftwareExtraFields', ['jquery'], function($) { } function set_show_additional_information() { - $("#comments-additional-information").on("click", function() { + $(".comments-display-fields").on("click", function() { if (DATA.information_display_state === "hidden") { DATA.information_display_state = "show"; $(".comments-software-extra-fields div").show(); diff --git a/views/comments_extra_fields.html.erb b/views/comments_extra_fields.html.erb index 4120a09..1a817eb 100644 --- a/views/comments_extra_fields.html.erb +++ b/views/comments_extra_fields.html.erb @@ -7,13 +7,13 @@