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

0
public/njum/js/baron.js Executable file → Normal file
View File

0
public/njum/js/bootstrap-tagsinput.min.js vendored Executable file → Normal file
View File

0
public/njum/js/bootstrap.min.js vendored Executable file → Normal file
View File

0
public/njum/js/clipboard.min.js vendored Executable file → Normal file
View File

0
public/njum/js/floatvid.js Executable file → Normal file
View File

0
public/njum/js/floatvids.js Executable file → Normal file
View File

0
public/njum/js/handlebars.min.js vendored Executable file → Normal file
View File

0
public/njum/js/imagesloaded.pkgd.min.js vendored Executable file → Normal file
View File

0
public/njum/js/isotope.pkgd.min.js vendored Executable file → Normal file
View File

0
public/njum/js/jquery-1.7.js vendored Executable file → Normal file
View File

0
public/njum/js/jquery-3.4.1.min.js vendored Executable file → Normal file
View File

0
public/njum/js/jquery.min.js vendored Executable file → Normal file
View File

0
public/njum/js/jquery.scrollbar.min.js vendored Executable file → Normal file
View File

0
public/njum/js/jquery.timeago.js Executable file → Normal file
View File

25
public/njum/js/newscript.js Executable file → Normal file
View File

@@ -231,9 +231,9 @@ $('#togglebg').on('click', function (e) {
background = !background;
localStorage.setItem('background', background.toString());
if(background)
$(canvas).css('display', 'block');
$(canvas).addClass( 'fader-in' ).removeClass('fader-out');
else
$(canvas).css('display', 'none');
$(canvas).addClass( 'fader-out' ).removeClass('fader-in');
animationLoop();
});
@@ -1170,6 +1170,7 @@ $(function ($) {
comment.closest('.panel-footer').siblings('.panel-body').find('.comment_clickable_timestamp').on('click', commentClickableTimestamp);
var textarea = commentform.find('textarea').val('');
textarea.blur();
comment.animate({ scrollTop: $(document).height() }, 1000);
}).fail(function(){
flash('error', 'Error saving comment');
});
@@ -1357,4 +1358,24 @@ $window.on('scroll', function() {
$videoWrap.height('auto');
$video.removeClass('stuck');
}
});
function bottomArrow() {
window.scrollTo(0,document.body.scrollHeight);
}
function commentBotScroll() {
setTimeout(window.scrollTo(0,document.body.scrollHeight), 5000);
};
$(window).scroll(function(){
if ($(this).scrollTop() > 0) {
$('.scrollToTop').fadeIn().css('display', 'inline-block');;
} else {
$('.scrollToTop').fadeOut().css('display', 'inline-block');;
}
});
$('.scrollToTop').click(function(){
$('html, body').animate({scrollTop : 0},800);
return false;
});

0
public/njum/js/newscript.min.js vendored Executable file → Normal file
View File

0
public/njum/js/newscript.min.js.map Executable file → Normal file
View File

0
public/njum/js/perfect-scrollbar.js Executable file → Normal file
View File

0
public/njum/js/popper.min.js vendored Executable file → Normal file
View File

0
public/njum/js/public_js_handlebars.min.js vendored Executable file → Normal file
View File

0
public/njum/js/raven.min.js vendored Executable file → Normal file
View File

0
public/njum/js/simplebar.js Executable file → Normal file
View File

0
public/njum/js/simplebar.min.js vendored Executable file → Normal file
View File

0
public/njum/js/sticky_video.js Executable file → Normal file
View File

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)
}

0
public/njum/js/w0bmscript.min.js vendored Executable file → Normal file
View File

0
public/njum/js/w0bmscript.min.js.map Executable file → Normal file
View File