diff --git a/public/static/js/script.js b/public/static/js/script.js index d7d2439..d0831f9 100644 --- a/public/static/js/script.js +++ b/public/static/js/script.js @@ -22,12 +22,12 @@ $(document).ready(function(){ $('#addNoteModal').modal('show'); }); - if ($('#message').html()==''){ + if ($('#actlMsg').html()==' '){ $('.notification').addClass('hidden'); } else { $('.notification').fadeOut(9000); } - $('.notification-close').click(function(){$('.notification').fadeOut("slow")}) + $('.btnMessage').click(function(){$('.notification').fadeOut()}) /*$( document ).keypress( function(event){ diff --git a/templates/_head.html b/templates/_head.html index 438e3dd..0fc5d5f 100644 --- a/templates/_head.html +++ b/templates/_head.html @@ -43,7 +43,7 @@ - +

{{.Message}}