Merge pull request #157 from nealpoole/master
Fixed broken preview functionality
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
// get form fields
|
||||
var oldAction = $('#gollum-editor form').attr('action');
|
||||
var $form = $($('#gollum-editor form').get(0));
|
||||
$form.attr('action', this.href);
|
||||
$form.attr('action', '/preview');
|
||||
$form.attr('target', '_blank');
|
||||
$form.submit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user