HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/blog.js.tar
www/vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/so-widgets-bundle/widgets/blog/js/blog.js000064400000001014151551361220030232 0ustar00var/* globals jQuery */

jQuery( function ( $ ) {
	if ( soBlogWidget.scrollto ) {
		// Detect if there's a Blog Widget in the URL, and scroll to it.
		if ( window.location.search && window.location.search.includes( 'sow-' ) ) {
			const blogId = window.location.search.match( /sow-([0-9a-f]+)/ )[1];
			const blogWidget = $( `[data-paging-id="${ blogId }"]` );
			if ( blogWidget.length ) {
				$( 'html, body' ).animate( {
					scrollTop: blogWidget.offset().top - soBlogWidget.scrollto_offset,
				}, 200 );
			}
		}
	}
} );