Fix #571
This commit is contained in:
bootstraponline
2012-11-07 20:35:57 -07:00
parent b08b97bd28
commit 05c24fd5e3
2 changed files with 4 additions and 2 deletions
@@ -226,6 +226,6 @@ $(document).ready(function() {
$("#gollum-editor-body").one('change', function(){
window.onbeforeunload = function(){ return "Leaving will not create a new page!" };
});
$.GollumEditor({ NewFile: true, MarkupType: '{{default_markup}}' });
$.GollumEditor({ NewFile: true, MarkupType: default_markup });
}
});
@@ -8,5 +8,7 @@
</div>
</div>
</div>
<script type="text/javascript">
var default_markup = '{{default_markup}}';
</script>
{{something}}