Skip to content

Commit d850eeb

Browse files
committed
scholarship fix
1 parent d4ba153 commit d850eeb

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

public/templates/programs/class-concurrent.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ src="https://www.facebook.com/tr?id=702080505718294&ev=PageView&noscript=1"
222222
{{else}}
223223
{{#if free}}Full scholarships for all{{else}}Scholarships available{{/if}}
224224

225-
{{#if registrationDone}}<a href="/about/scholarships">learn more...</a>{{else}}<a class="more-about-cost">
225+
{{#if registrationDone}}<a href="/about/scholarships">learn more...</a>{{else}}<a href="/participate#scholarships">
226226
learn more...</a>{{/if}}
227227
{{/if}}
228228
</div>

public/templates/programs/participate.hbs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@
3939
class="statcounter" src="https://c.statcounter.com/12714909/0/6086a46c/1/" alt="website statistics"
4040
referrerPolicy="no-referrer-when-downgrade"></a></div>
4141
</noscript>
42-
42+
<script>
43+
if(location.href.indexOf("#")){
44+
setTimeout(function(){
45+
document.getElementById(location.href.slice(location.href.indexOf("#")+1)).scrollIntoView();
46+
}, 500)
47+
}
48+
</script>
4349

4450
<!-- <script data-goatcounter="https://sfpc.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script> -->
4551

0 commit comments

Comments
 (0)