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:
@@ -18,7 +18,8 @@
|
|||||||
|
|
||||||
#toast-container{
|
#toast-container{
|
||||||
left:2% !important;
|
left:2% !important;
|
||||||
pointer-events:none;
|
cursor:pointer;
|
||||||
|
/*pointer-events:none;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-track
|
::-webkit-scrollbar-track
|
||||||
|
|||||||
2
static/dist/frontpage.min.js
vendored
2
static/dist/frontpage.min.js
vendored
File diff suppressed because one or more lines are too long
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -340,3 +340,9 @@ $("#suggestions").on( "click", "#del_user_suggested", function(e){
|
|||||||
$("#suggested-" + id).remove();
|
$("#suggested-" + id).remove();
|
||||||
List.vote(id, "del");
|
List.vote(id, "del");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '#toast-container', function(){
|
||||||
|
$(this).fadeOut(function(){
|
||||||
|
$(this).remove();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -281,6 +281,12 @@ $(document).on('click', '#cookieok', function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '#toast-container', function(){
|
||||||
|
$(this).fadeOut(function(){
|
||||||
|
$(this).remove();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
$(".listen-button").click(function(){
|
$(".listen-button").click(function(){
|
||||||
//console.log($(".room-namer").attr("placeholder"));
|
//console.log($(".room-namer").attr("placeholder"));
|
||||||
if($(".room-namer").val() == ""){
|
if($(".room-namer").val() == ""){
|
||||||
|
|||||||
Reference in New Issue
Block a user