Skillnad mellan versioner av "IntranetUserJS/mellansjo"
Hoppa till navigering
Hoppa till sök
Rad 5: | Rad 5: | ||
2019-03-22 | 2019-03-22 | ||
− | + | <pre> | |
if ($('#ser_serials-home').length) { | if ($('#ser_serials-home').length) { | ||
waitForEl('.dataTables_wrapper', function() { | waitForEl('.dataTables_wrapper', function() { | ||
Rad 17: | Rad 17: | ||
}); | }); | ||
}; | }; | ||
+ | </pre> |
Versionen från 1 april 2019 kl. 10.44
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'); }; }); }); };