Skip to content

Commit 4fce0ce

Browse files
committed
iminor
1 parent 193e5e8 commit 4fce0ce

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

v3/js/opt-frontend.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,10 @@ $(document).ready(function() {
892892
$.get('survey.py', myArgs, function(dat) {});
893893

894894
$("#iJustLearnedInput").val('');
895-
$("#iJustLearnedThanks").show().fadeOut(1500);
895+
$("#iJustLearnedThanks").show();
896+
$.doTimeout('iJustLearnedThanksFadeOut', 1200, function() {
897+
$("#iJustLearnedThanks").fadeOut(1000);
898+
});
896899
});
897900

898901
genericOptFrontendReady(); // initialize at the end

v3/visualize.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,13 @@
113113
<div style="font-size: 11pt; margin-bottom: 5pt;">
114114
I just learned that
115115
<input style="font-size: 11pt; padding: 2pt;" type="text" id="iJustLearnedInput" size="80"/>
116+
116117
<button id="iJustLearnedSubmission" type="button" style="font-size: 12pt;">Submit</button>
117-
</div>
118-
<div id="iJustLearnedThanks"
119-
style="color: #e93f34; font-weight: bold; font-size: 11pt; display: none;">
120-
Thanks for your input!
118+
119+
<span id="iJustLearnedThanks"
120+
style="color: #e93f34; font-weight: bold; font-size: 11pt; display: none;">
121+
Thanks!
122+
</span>
121123
</div>
122124
</div>
123125

0 commit comments

Comments
 (0)