This commit is contained in:
2021-06-25 08:25:11 +00:00
parent 8877c0bad0
commit 37d34c2bab
739 changed files with 613 additions and 1120 deletions

23
public/njum/js/w0bmscript.js Executable file → Normal file
View File

@@ -1377,7 +1377,7 @@ function Copy() {
}
//Toggle the Emojibar
$(".header").click(function () {
$(".emoji_header").click(function () {
$header = $(this);
$content = $(".emojis-box");
$content.slideToggle(350, function () {
@@ -1432,4 +1432,23 @@ if(infoboxContent)
if( /Android|webOS|iPhone|iPad|Mac|Macintosh|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
window.location.href = "https://w0bm.com/api/user/layout?layout=5";
}
}
/* $('#collapseEmojis').on('click', function (event) {
let panelCollapse = $(this).closest('.panel').find('.collapseEmojis');
if (!panelCollapse.hasClass('collapse')) {
$('html, body').animate({
scrollTop: panelCollapse.offset().top
}, 500);
}
}); */
$(".emojiCollapser").click(function() {
$('html,body').animate({
scrollTop: $(".emojiWrapper").offset().top},
'slow');
});
function bottomArrow() {
window.scrollTo(0,document.body.scrollHeight)
}