PageSourceSearch

https://seranking.com/wp-content/themes/se_theme/page-templates/contact-page/assets/js/app.js?v=3333

js seranking.com collected 2026-09-24 07:25:56 UTC 1,702 bytes, 48 lines download raw bytes

1jQuery(document).ready(function($) {
2    var lb = $('.se-contact-form__input-file + .se-pseudo-placeholder');
3    var lt = lb.text();
4    $('.se-contact-form__submit').on('click', function(e) {
5        setTimeout(function() {
6            if ($('.se-contact-form').hasClass('submit-success')) {
7                lb.html(lt);
8            }
9        }, 5000);
10    });
11    
12    var issueTypeEl = document.querySelector('.se-contact-form__select');
13    var subjectEl = document.querySelector('.se-contact-form__input[name="subject"]');
14    
15    var params = new URLSearchParams(window.location.search);
16    var issueType = params.get('issue_type');
17    var subject = params.get('subject');
18    
19    subjectEl.value = subject || '';
20    
21    if (issueType) {
22        issueTypeEl.value = capitalizeFirstLetter(issueType);
23    }
24    
25    function capitalizeFirstLetter(str) {
26        return str[0].toUpperCase() + str.slice(1);
27    }
28    
29    if (window.innerWidth < 661) {
30        handleDropdown();
31        
32        function handleDropdown() {
33            $('.dropdown-toggle').on('click', function(e) {
34                $('.dropdown-menu').css('display', 'block');
35            });
36            $('.dropdown-menu').on('click', 'span', function(e) {
37                var $parent = $(this).parents('.map-wrap');
38                if ($(this).parents('.map-left').length) {
39                    $(this).parents('.map-left').fadeOut('fast').next().fadeIn('fast');
40                } else {
41                    $parent.find('.map-right').fadeOut('fast').prev().fadeIn('fast');
42                }
43                $('.dropdown-menu').css('display', '');
44                e.preventDefault();
45            });
46        }
47    }
48});

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.