Skillnad mellan versioner av "IntranetUserJS/mellansjo"
Hoppa till navigering
Hoppa till sök
Rad 4: | Rad 4: | ||
ver 1 | ver 1 | ||
2019-03-22 | 2019-03-22 | ||
− | [[Fil:Periodika. | + | [[Fil:Periodika.png]] |
<pre> | <pre> | ||
if ($('#ser_serials-home').length) { | if ($('#ser_serials-home').length) { |
Versionen från 1 april 2019 kl. 11.43
Periodika / Ta emot
Lättare att se hembibliotekets prenumeration genom att markera den grön och förstora rutan. ver 1 2019-03-22
if ($('#ser_serials-home').length) { waitForEl('.dataTables_wrapper', function() { var logbib = localStorage.getItem('loggedinbranch'); $('.dataTables_wrapper td:nth-child(5)').each(function() { if ($(this).text().indexOf(logbib) > -1) { $(this).closest('tr').children().css('background-color','#d4efb7'); $(this).closest('tr').children().css('padding','30px 4px'); }; }); }); };