File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments