Fixed stupid fccss and fcces not replacing :p

This commit is contained in:
benmcmahon100
2015-08-25 20:47:37 +01:00
parent a1daf448fd
commit f3d4e7dec8

View File

@ -532,6 +532,6 @@ $('#submitButton').on('click', function() {
$(document).ready(function(){ $(document).ready(function(){
editorValue = (codeStorage.isAlive())? codeStorage.getEditorValue() : allSeeds; editorValue = (codeStorage.isAlive())? codeStorage.getEditorValue() : allSeeds;
myCodeMirror.setValue(editorValue); myCodeMirror.setValue(editorValue.replace(/fccsss/gi, '<script>').replace(/fcces/gi, "</script>"));
bonfireExecute(); bonfireExecute();
}); });