PageSourceSearch

https://www.townofempire.org/assets/theme/global/js/inner.js?v=1549045112

js townofempire.org collected 2026-10-07 14:56:47 UTC 1,491 bytes, 50 lines download raw bytes

1/*******************
2    Blog Menu
3*******************/
4$(document).ready(function() {
5    $('.blog-menu a').on('touchstart click',function(e) { 
6        if(!$(this).hasClass('blog-link')) {
7            e.preventDefault();
8        }
9        if($(this).next().length > 0) {
10            $(this).closest('li').siblings().find('ul').stop(true,true).slideUp(); // comment to close
11            $(this).closest('li').siblings().find('ul').each(function() {
12                $(this).prev().removeClass('down');// 
13            }); 
14        }
15        if(!$(this).next().is(':visible')) {
16            $(this).closest('li').find('.month-link').each(function() {
17                $(this).next().stop(true,true).slideUp(0);
18                $(this).removeClass('down');
19            });// close all
20            $(this).next().stop(true,true).slideDown();
21            $(this).addClass('down');
22        } else {
23              $(this).next().stop(true,true).slideUp();
24              $(this).removeClass('down');
25        }
26    });
27});
28
29
30/****************************
31  Left Sidebar position
32****************************/
33function leftSidebarPos() {
34    if($('.col-left').hasClass('sidebar')) {
35        if(viewport().width <= 900) {
36            $('.col-left').insertAfter('.col-right');
37        }
38        else {
39            $('.col-left').insertBefore('.col-right');
40        }   
41    }
42}
43
44$(document).ready(function() {
45    leftSidebarPos();
46
47    $(window).resize(function() {
48        leftSidebarPos();
49    });
50});

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.