prevent request comment button to be shown on editors not beeing the first editor too early.

This commit is contained in:
Ralf Teusner
2016-05-03 08:32:27 +02:00
parent c15c868e2f
commit 98afb71ba9
3 changed files with 4 additions and 4 deletions

View File

@@ -478,7 +478,7 @@ $(function() {
};
var initializeRequestForComments = function () {
var button = $('#requestCommentsButton');
var button = $('.requestCommentsButton');
button.hide();
button.on('click', function() {
$('#comment-modal').modal('show');
@@ -1171,7 +1171,7 @@ $(function() {
}).error(ajaxError);
$('#comment-modal').modal('hide');
var button = $('#requestCommentsButton');
var button = $('.requestCommentsButton');
button.fadeOut();
}