lib/gollum/frontend/public/gollum/javascript/gollum.js in gollum-2.3.11 vs lib/gollum/frontend/public/gollum/javascript/gollum.js in gollum-2.3.12
- old
+ new
@@ -224,8 +224,8 @@
if( $('#wiki-wrapper.create').length ){
$("#gollum-editor-submit").click( function() { window.onbeforeunload = null; } );
$("#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 });
}
});