diff --git a/public/js/lib/coursewares/coursewaresHCJQFramework_0.1.9.js b/public/js/lib/coursewares/coursewaresHCJQFramework_0.1.9.js index 334c6254fb..685c5d8665 100644 --- a/public/js/lib/coursewares/coursewaresHCJQFramework_0.1.9.js +++ b/public/js/lib/coursewares/coursewaresHCJQFramework_0.1.9.js @@ -252,11 +252,11 @@ var allSeeds = ''; editorValue = (codeStorage.isAlive())? codeStorage.getEditorValue() : allSeeds; -editor.setValue(editorValue.replace(/\/gi, 'fccss').replace(/\<\/script\>/gi, 'fcces'); +editor.setValue(editorValue.replace((/fccss/gi), '')); editor.refresh(); var resetEditor = function resetEditor() { - editor.setValue(allSeeds); + editor.setValue(allSeeds.replace((/fccss/gi), '')); updatePreview(); codeStorage.updateStorage(); };