##// END OF EJS Templates
Merge pull request #7046 from quantopian/fix-history-undo-load...
Matthias Bussonnier -
r19094:6434cc1b merge
parent child Browse files
Show More
@@ -36,6 +36,10 b' function($,'
36 36 .then(function(model) {
37 37 cm.setValue(model.content);
38 38
39 // Setting the file's initial value creates a history entry,
40 // which we don't want.
41 cm.clearHistory();
42
39 43 // Find and load the highlighting mode
40 44 var modeinfo = CodeMirror.findModeByMIME(model.mimetype);
41 45 if (modeinfo) {
General Comments 0
You need to be logged in to leave comments. Login now