fix feedback

This commit is contained in:
2018-11-25 11:52:05 +01:00
parent 3a53121fe2
commit 89da622919
6 changed files with 37 additions and 22 deletions

View File

@@ -16,15 +16,15 @@
oMyThoughts.onFeedback = function(sType, sMsg)
{
var $Feedback = $('#edi_feedback');
$Feedback
.stop()
.fadeOut($Feedback.is(':empty')?0:'fast', function(){
var $Feedback = $('#write_feedback').stop();
if(sMsg != $Feedback.find('span').text()) {
$Feedback.fadeOut($Feedback.is(':empty')?0:'fast', function(){
$(this)
.empty()
.append($('<span>', {'class':sType}).text(sMsg))
.fadeIn('fast');
});
}
};
oMyThoughts.onQuitPage = function()