Skip to content

Commit 413c969

Browse files
committed
bah
1 parent 4c4a91a commit 413c969

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

v3/js/opt-live.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3636

3737
/* TODOs:
3838
39-
- make Ace editor resizable width-wise using jQuery resizable
40-
(stackoverflow has some tips for how to do that)
41-
- users want this!
39+
- abstract out components within pytutor.js to prevent ugly code
40+
duplication with stuff in this file
4241
4342
- if these Ace enhancements look good, then I can also use them for
4443
Codeopticon as well!
@@ -131,6 +130,8 @@ function updateStepLabels() {
131130
assert(myVisualizer);
132131
myVisualizer.updateCurPrevLines(); // do this first to update the right fields
133132

133+
$('#urlOutput').val(''); // prevent stale URLs
134+
134135
var s = pyInputAceEditor.getSession();
135136
allMarkerIds.forEach(function(e) {
136137
s.removeMarker(e);

0 commit comments

Comments
 (0)