PageSourceSearch

https://www.neildiamond.com/wp-content/themes/umg-grand-royal-them…/assets/js/cookie-styles.js?ver=3.5.8

js neildiamond.com collected 2026-09-24 09:16:46 UTC 1,168 bytes, 33 lines download raw bytes

1(function($) {
2
3    var mp_initial_footer_margin_bottom = false;
4
5    if(typeof UMGGR_Cookie_Positioner_Module !== 'undefined') {
6
7        /**
8         * Amend page styles to move important content from underneath the cookie box
9         * - move footer contents above cookie bar
10         */
11        UMGGR_Cookie_Positioner_Module.action_cookie_open = function () {
12            var cookie_box = $('#' + UMGGR_Cookie_Positioner_Module.cookie_bar_id);
13            var cookie_box_height = $(cookie_box).height() ? $(cookie_box).height() : 0;
14
15            var site_footer = $('#site-footer');
16
17            if(mp_initial_footer_margin_bottom === false) {
18                mp_initial_footer_margin_bottom = $(site_footer).css('margin-bottom');
19            }
20
21            $(site_footer).css('margin-bottom', cookie_box_height + 15);
22        };
23
24        /**
25         * Move content back to original position after cookie close
26         */
27        UMGGR_Cookie_Positioner_Module.action_cookie_close = function () {
28            var site_footer = $('#site-footer');
29
30            $(site_footer).css('margin-bottom', mp_initial_footer_margin_bottom);
31        };
32    }
33})( 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.