PageSourceSearch

https://laked.ru/templates/yoo_luna/js/theme.js

js laked.ru collected 2026-10-06 06:54:11 UTC 1,081 bytes, 38 lines download raw bytes

1/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */
2
3/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */
4
5jQuery(function($) {
6
7    var config = $('html').data('config') || {},
8        navbar_height = $('.tm-navbar-container').outerHeight();
9
10    // First block viewport height
11    $('.tm-navbar-container:not(.tm-navbar-absolute) + .uk-height-viewport').css({'height': 'calc(100vh - '+ navbar_height +'px)'});
12
13    // Social buttons
14    $('article[data-permalink]').socialButtons(config);
15
16    // fit footer
17    (function(main, meta, fn){
18
19        if (!main.length) return;
20
21        fn = function() {
22
23            main.css('min-height','');
24
25            meta = document.body.getBoundingClientRect();
26
27            if (meta.height <= window.innerHeight) {
28                main.css('min-height', (main.outerHeight() + (window.innerHeight - meta.height))+'px');
29            }
30
31            return fn;
32        };
33
34        UIkit.$win.on('load resize', fn());
35
36    })($('#tm-main'))
37
38});

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.