mirror of
https://github.com/Daichimarukana/uwuzu.git
synced 2026-06-05 03:24:41 +00:00
uwuzu v1.4.0 Funium
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
$(document).on('click', '.mini_irobtn', function (event) {
|
||||
event.preventDefault();
|
||||
mother = $(this).parent();
|
||||
mother2 = $(mother).parent();
|
||||
$(mother2).next('.nsfw_main').children().removeClass('block');
|
||||
$(mother2).next('.nsfw_main').children().addClass('clear');
|
||||
|
||||
$(mother2).next('.nsfw_main').removeClass('nsfw_main');
|
||||
$(mother2).hide();
|
||||
});
|
||||
|
||||
|
||||
$(document).on('click', '#ueuse_image', function (event) {
|
||||
var imgLink = $(this).attr('src');
|
||||
|
||||
var modal = $('#Big_ImageModal');
|
||||
var modalMain = $('.modal-content');
|
||||
var modalimg_zone = $('#Big_ImageMain');
|
||||
|
||||
$(modalimg_zone).attr('src',imgLink);
|
||||
|
||||
modal.show();
|
||||
modalMain.addClass("slideUp");
|
||||
modalMain.removeClass("slideDown");
|
||||
|
||||
modal.on('click', function() {
|
||||
modalMain.removeClass("slideUp");
|
||||
modalMain.addClass("slideDown");
|
||||
window.setTimeout(function(){
|
||||
modal.hide();
|
||||
}, 150);
|
||||
});
|
||||
});
|
||||
|
||||
function view_notify(notify){
|
||||
$("#notify").children("p").text(notify);
|
||||
$("#notify").show();
|
||||
setTimeout(function(){
|
||||
$("#notify").hide();
|
||||
}, 10000);
|
||||
}
|
||||
Reference in New Issue
Block a user