{"version":3,"sources":["subpage.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"subpage.js","sourcesContent":["jQuery(document).ready(function ($) {\r\n // image alt\r\n $('img').each(function () {\r\n var img = $(this);\r\n var src = $(this).attr('src');\r\n var filename = src.split('/').reverse()[0].replace(/\\.[^/.]+$/, '');\r\n if (img.parent('a').length != 0) {\r\n if (img.not('[alt]')) {\r\n img.attr('alt', 'image ' + filename);\r\n }\r\n } else {\r\n if (img.not('[alt]')) {\r\n img.attr('alt', '');\r\n }\r\n }\r\n });\r\n\r\n // responsive tables\r\n $('main table').each(function () {\r\n if (!$(this).parents('.search-results').length) {\r\n if (!$(this).parents('table').length) {\r\n console.log(!$(this).parents('table').length);\r\n if (!$(this).hasClass('tablesaw')) {\r\n $(this).addClass('tablesaw').attr('data-tablesaw-mode', 'stack');\r\n }\r\n }\r\n }\r\n });\r\n $('main table th').css('width', 'auto').css('height', 'auto').css('position', 'relative');\r\n $('main table td').css('width', 'auto').css('height', 'auto');\r\n\r\n // breadcrumbs\r\n $('ul.breadcrumb').prepend('