Dimiss the notification
This commit is contained in:
parent
a40b435d0b
commit
a98244a8d2
6 changed files with 189 additions and 6 deletions
Binary file not shown.
|
|
@ -53,3 +53,6 @@ input[type='checkbox'] {
|
|||
a {
|
||||
color: aquamarine;
|
||||
background-color: black; }
|
||||
|
||||
a.close {
|
||||
cursor: pointer; }
|
||||
|
|
|
|||
|
|
@ -75,3 +75,8 @@ a {
|
|||
color:aquamarine;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
a.close
|
||||
{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
// Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
|
||||
// for details on configuring this project to bundle and minify static web assets.
|
||||
|
||||
// Write your JavaScript code.
|
||||
|
||||
var notifClick =
|
||||
function(nid) {
|
||||
if (nid > 0) {
|
||||
$.get('/api/dimiss/click/' + nid);
|
||||
$.get({
|
||||
url: '/api/dimiss/click/' + nid,
|
||||
success: $('div[data-nid='+nid+']').remove()
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue