PageSourceSearch

https://resetappliance.com/themes/resetappliance/assets/wp-content…/comments/assets/frontendb6a4.js?ver=6.6.1

js resetappliance.com collected 2026-10-08 22:35:21 UTC 1,341 bytes, 61 lines download raw bytes

1var wdtPortfolioFeaturedComments = {
2
3	dtInit : function() {
4
5		// Comment gallery prettyphoto
6
7			jQuery('.wdt_comment_gallery_item').each(function() {
8				var attr = jQuery(this).attr('rel');
9				if (jQuery('a[rel^="'+attr+'"]').length) {
10					jQuery('a[rel^="'+attr+'"]').prettyPhoto({
11						hook: 'rel',
12						show_title: false,
13						deeplinking: false,
14						social_tools: false,
15				});
16				}
17			});
18
19		// File Upload
20
21			jQuery('body').on('change', '.wdt-comment-media-upload', function() {
22				var input = jQuery(this),
23				inputFiles = input.get(0).files,
24				selectedFiles = '';
25
26				selectedFiles = inputFiles[0]['name'];
27				if(inputFiles.length > 1) {
28					selectedFiles = selectedFiles + ' + ' + (inputFiles.length-1);
29				}
30
31				jQuery('.wdt-comment-media-label').html(selectedFiles);
32
33			});
34
35	}
36
37};
38
39
40jQuery(document).ready(function() {
41
42	if(!wdtfrontendobject.elementorPreviewMode) {
43		wdtPortfolioFeaturedComments.dtInit();
44	}
45
46});
47
48
49( function( $ ) {
50
51	var wdtPortfolioFeaturedCommentsJs = function($scope, $){
52		wdtPortfolioFeaturedComments.dtInit();
53	};
54
55    $(window).on('elementor/frontend/init', function(){
56		if(wdtfrontendobject.elementorPreviewMode) {
57			elementorFrontend.hooks.addAction('frontend/element_ready/wdt-widget-sp-featured-comments.default', wdtPortfolioFeaturedCommentsJs);
58		}
59	});
60
61} )( jQuery );

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.