Skip to content

Commit 3bbd938

Browse files
committed
bah
1 parent f825f5b commit 3bbd938

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎v3/js/opt-frontend.js‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,10 @@ $(document).ready(function() {
643643
$("#getTutorBtn").click(requestTutor);
644644
*/
645645

646-
$("#hideHeaderLink").click(function() {$("#experimentalHeader").hide();});
646+
$("#hideHeaderLink").click(function() {
647+
$("#experimentalHeader").hide();
648+
return false; // don't reload da page
649+
});
647650

648651
// canned examples
649652
$(".exampleLink").click(function() {

‎v3/visualize.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108

109109
<div id="adInfo" style="font-size: 8pt; width: 180px; margin-bottom: 10px;">
110110

111-
<a href="javascript:void(0)" id="hideHeaderLink">Hide banner ad</a>
111+
<a href="#" id="hideHeaderLink">Hide banner ad</a>
112112

113113
<br/><br/>
114114
Online Python Tutor is free and <a

0 commit comments

Comments
 (0)