Changeset - e8ec7a33fbe0
[Not reviewed]
0 1 0
Brett Smith (brett) - 4 months ago 2020-11-25 15:45:38
brett@sfconservancy.org
js: Code simplification.
1 file changed with 1 insertions and 4 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/js/supporter-page.js
Show inline comments
...
 
@@ -97,10 +97,7 @@ $(document).ready(function() {
 
        $(".supporter-type-selector a").removeClass("supporter-type-selector-selected");
 
        $selectedLink.addClass("supporter-type-selector-selected");
 
        $(".supporter-type-selection").hide();
 
        var hashIndex = event.target.href.lastIndexOf('#');
 
        if (hashIndex > -1) {
 
            $(event.target.href.slice(hashIndex)).show();
 
        }
 
        $(event.target.hash).show();
 
        $formCorrectionNeeded.addClass('hidden');
 
        return false;
 
    };
0 comments (0 inline, 0 general)