Some cosmetic changes. Fade out of button after asking a question, some margin to avoid interference of the button with scrollbars, reduced timeframe upon appearance and changed modal window description text.

This commit is contained in:
Ralf Teusner
2016-05-01 12:12:46 +02:00
parent d2ebfc9fde
commit 1f7f2865a0
4 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,7 @@ $(function() {
var THEME = 'ace/theme/textmate';
var REMEMBER_TAB = false;
var AUTOSAVE_INTERVAL = 15 * 1000;
var REQUEST_FOR_COMMENTS_DELAY = 5 * 60 * 1000;
var REQUEST_FOR_COMMENTS_DELAY = 3 * 60 * 1000;
var NONE = 0;
var WEBSOCKET = 1;
var SERVER_SEND_EVENT = 2;
@ -1171,6 +1171,8 @@ $(function() {
}).error(ajaxError);
$('#comment-modal').modal('hide');
var button = $('#requestCommentsButton');
button.fadeOut();
}
var initializeCodePilot = function() {

View File

@ -92,5 +92,6 @@ button i.fa-spin {
#requestCommentsButton {
position: relative;
margin-top: -50px;
margin-right: 25px;
float: right;
}