Set a refresh on codemirror instance rather than setting the cursor position. Closes #640
parent
131b9ad1b7
commit
193f9d16db
|
@ -106,7 +106,11 @@ var allSeeds = '';
|
|||
allSeeds += elem.replace(/fccss/g, '<script>').replace(/fcces/g,'</script>') + '\n';
|
||||
});
|
||||
editor.setValue(allSeeds);
|
||||
editor.setCursor(15);
|
||||
(function() {
|
||||
setTimeout(function() {
|
||||
editor.refresh();
|
||||
}, 200);
|
||||
})();
|
||||
})();
|
||||
|
||||
|
|
@ -91,4 +91,4 @@ block content
|
|||
.animated.zoomInDown.delay-half
|
||||
span.completion-icon.ion-checkmark-circled.text-primary
|
||||
a.animated.fadeIn.btn.btn-lg.signup-btn.btn-block(href='/login') Sign in so you can save your progress
|
||||
script(src="/js/lib/coursewares/coursewaresHCJQFramework_0.1.6.js")
|
||||
script(src="/js/lib/coursewares/coursewaresHCJQFramework_0.1.7.js")
|
||||
|
|
Loading…
Reference in New Issue