<reponame>SERVIR/SAMS<filename>app/static/app/js/navloader.js<gh_stars>0﻿function setActive(which) {
    if(which) {
        if ($("#" + which).length) {
            $("#" + which).addClass("active");
        } else {
            setTimeout(function () {
                setActive(which)
            }, 200);
        }
    }
}