mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Adding pointer events to toasts, and being able to remove them b clicking
This commit is contained in:
@@ -339,4 +339,10 @@ $("#suggestions").on( "click", "#del_user_suggested", function(e){
|
||||
var id = $(this).attr("data-video-id");
|
||||
$("#suggested-" + id).remove();
|
||||
List.vote(id, "del");
|
||||
});
|
||||
|
||||
$(document).on('click', '#toast-container', function(){
|
||||
$(this).fadeOut(function(){
|
||||
$(this).remove();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user