njum fix
This commit is contained in:
23
public/njum/js/w0bmscript.js
Executable file → Normal file
23
public/njum/js/w0bmscript.js
Executable file → Normal 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)
|
||||
}
|
Reference in New Issue
Block a user