PageSourceSearch

https://www.trigueros.es/export/system/modules/com.saga.sagasuite.…/sagasuite/sg-accordion-trigger.js

js trigueros.es collected 2026-10-02 13:26:52 UTC 771 bytes, 22 lines download raw bytes

1/*
2 Saga Suite Accordion Trigger:
3  Cambia el icono de despliegue o pliegue en cualquier accordionde bootstrap
4*/
5$(document).ready(function () {
6
7	$('.panel-group').on('shown.bs.collapse', function (e) {
8		$(e.target).parent().find('a[aria-expanded="true"] .fa').removeClass('fa-angle-down').addClass('fa-angle-up');
9	});
10	$('.panel-group').on('show.bs.collapse', function (e) {
11		$(e.currentTarget).find('open').removeClass('open');
12		$(e.target).parent().addClass('open');
13	});
14
15	$('.panel-group').on('hidden.bs.collapse', function (e) {
16		$(e.target).parent().find('a[aria-expanded="false"] .fa').removeClass('fa-angle-up').addClass('fa-angle-down');
17	});
18	$('.panel-group').on('hide.bs.collapse', function (e) {
19		$(e.target).parent().removeClass('open');
20	});
21	
22});

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.