PageSourceSearch

https://www.dobelescerini.lv/themes/custom/cerini/dist/js/custom.min.js?tmjhq1

js dobelescerini.lv collected 2026-10-07 22:59:52 UTC 1,640 bytes, 57 lines download raw bytes

1/******/ (() => { // webpackBootstrap
2//Šis fails paredzēts pašu rakstīto skriptu pievienošanai.
3
4jQuery(document).ready(function (e) {
5  var sidebar_childs = e("#sidebar aside").children().length;
6  if (sidebar_childs === 0) {
7    e('#content').css('width', '100%');
8    e('#sidebar').css('width', '0');
9  }
10});
11function replaceMainBanner() {
12  jQuery('.main-banner').css({
13    'position': 'fixed',
14    'z-index': 100,
15    'bottom': 0,
16    'border-top': '2px solid #ddd',
17    'margin': '0'
18  });
19  jQuery('.site-footer').css({
20    'margin-bottom': '80px'
21  });
22}
23function resetMainBanner() {
24  jQuery('.main-banner').css({
25    'position': 'relative',
26    'z-index': 100,
27    'bottom': '',
28    'border-top': '',
29    'margin': 'initial'
30  });
31  jQuery('.site-footer').css({
32    'margin-bottom': '0px'
33  });
34}
35jQuery(document).ready(function (e) {
36  e('.toggle-field div:nth-child(1)').on('click', function () {
37    e(this).parent().find('div:nth-child(2)').slideToggle(300);
38  });
39  autoSubmitStipendijas();
40});
41function autoSubmitStipendijas() {
42  jQuery('#edit-stipendijas-veids').on('change', function () {
43    console.log("selected " + this.value);
44    if (this.value == "Starptautiskā stipendija") {
45      window.open('http://www.viaa.gov.lv/lat/starpt_fin_intrumenti/stipendijas/stipendiju_piedavajumi/', '_blank');
46    } else {
47      jQuery('#views-exposed-form-stipendijas-page-2').submit();
48    }
49  });
50  jQuery('#edit-fakultate').on('change', function () {
51    console.log("selected " + this.value);
52    jQuery('#views-exposed-form-stipendijas-page-2').submit();
53  });
54}
55/******/ })()
56;
57//# sourceMappingURL=custom.min.js.map

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.