/* Minification failed. Returning unminified contents.
(1,1): run-time error CSS1019: Unexpected token, found '$'
(1,2): run-time error CSS1019: Unexpected token, found '('
(1,11): run-time error CSS1031: Expected selector, found ')'
(1,11): run-time error CSS1025: Expected comma or open brace, found ')'
(13,2): run-time error CSS1019: Unexpected token, found ')'
 */
$(document).ready(function () {

    $("a.internal-link").attr("href", function (i, val) {
        if (val[0] === "#") {
            return location.pathname + val;
        }
        
    });
    $('a[href^="#fig"]').off("click").click(function () {
        document.location.hash = this.hash;
        return false;
    });
});
