Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
$(document).ready(function() {
var path = location.pathname.substring(1);
- $('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold');
-});
\ No newline at end of file
+ if (path.indexOf("invoice") >= 0) {
+ $('#navmenulist a[href$="/cgi-bin/koha/acqui/invoices.pl"]').css('font-weight','bold');
+ } else {
+ $('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold');
+ }
+});