Skip to content

Commit

Permalink
Touched up frame work
Browse files Browse the repository at this point in the history
  • Loading branch information
benmcmahon100 committed Aug 26, 2015
1 parent 7a8c37b commit c481dca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/js/lib/coursewares/commonFrameWork_0.0.4.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,11 +576,11 @@ $(document).ready(function(){
isInitRun = true;
editorValue = (codeStorage.isAlive())? codeStorage.getEditorValue() : allSeeds;
myCodeMirror.setValue(editorValue.replace(/fccss/gi, '<script>').replace(/fcces/gi, "</script>"));
if(typeof $preview.html() !== 'undefined') {
if(typeof $preview.html() !== 'undefined' && isInitRun) {
$preview.load(function(){
bonfireExecute(false);
bonfireExecute(true);
});
} else{
bonfireExecute(false);
bonfireExecute(true);
}
});

0 comments on commit c481dca

Please sign in to comment.