PageSourceSearch

https://www.southernmanagement.com/wp-content/plugins/emergency-alert/assets/js/wpm-ea.js?ver=2020-03-18

js southernmanagement.com collected 2026-09-26 08:24:36 UTC 1,416 bytes, 33 lines download raw bytes

1jQuery(document).ready(function($){
2
3    var alert_height = $( '.wpm-ea-alert' ).height();
4    console.log( wpmea.adjustments );
5    if ( wpmea.adjustments && $( '.wpm-ea-alert-bottom-absolute' ).size() > 0 )
6    {
7        var body_bottom_pad = $( 'body.wpm-ea-position-bottom-absolute' ).css( 'paddingBottom' ).replace( 'px', '' );
8        var new_pad = alert_height + parseInt(body_bottom_pad);
9        $( 'body.wpm-ea-position-bottom-absolute' ).css( 'paddingBottom', new_pad + 'px' );
10    }
11
12    if ( wpmea.adjustments && $( '.wpm-ea-alert-top-absolute' ).size() > 0 )
13    {
14        var body_top_margin = $( 'body.wpm-ea-position-top-absolute' ).css( 'marginTop' ).replace( 'px', '' );
15        var new_margin = parseInt( body_top_margin ) + alert_height;
16        if ( $( 'body' ).hasClass( 'admin-bar' ) ) new_margin += 42;
17        $( 'body.wpm-ea-position-top-absolute' ).css( 'marginTop', new_margin + 'px' );
18    }
19
20    $( '.wpm-ea-trigger' ).click(function(){
21
22        if ( $( '#wpm-ea-alert' ).data( 'suppress' ) === true )
23        {
24            var ajax_url = $( '#wpm-ea-alert' ).data( 'suppress-url' );
25            $.get(ajax_url);
26        }
27
28        $('body').removeClass( 'wpm-ea-position-top wpm-ea-position-top-absolute wpm-ea-position-bottom wpm-ea-position-bottom-absolute wpm-ea-position-lightbox' );
29        $( '#wpm-ea-alert,.wpm-ea-alert-overlay' ).fadeOut();
30
31        return false;
32    });
33});

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.