Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3227695b authored by Adam Tauber's avatar Adam Tauber
Browse files

[fix] indicate visually active tab programmatically on the page Preferences - #350

parent 4829a76a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -198,6 +198,11 @@ $(document).ready(function(){
            $(".btn-sm").addClass('btn-default');
        }
    });
    $(".nav-tabs").click(function(a) {
        var tabs = $(a.target).parents("ul");
        tabs.children().attr("aria-selected", "false");
        $(a.target).parent().attr("aria-selected", "true");
    });
});
;/**
 * searx is free software: you can redistribute it and/or modify
+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+5 −0
Original line number Diff line number Diff line
@@ -96,4 +96,9 @@ $(document).ready(function(){
            $(".btn-sm").addClass('btn-default');
        }
    });
    $(".nav-tabs").click(function(a) {
        var tabs = $(a.target).parents("ul");
        tabs.children().attr("aria-selected", "false");
        $(a.target).parent().attr("aria-selected", "true");
    });
});