Merge pull request #1231 from NARKOZ/preview_notes
Preview window is not closed after post
This commit is contained in:
commit
0e5dbd1caf
2 changed files with 4 additions and 2 deletions
|
@ -72,7 +72,7 @@ $(document).ready(function(){
|
|||
* Note markdown preview
|
||||
*
|
||||
*/
|
||||
$('#preview-link').on('click', function(e) {
|
||||
$(document).on('click', '#preview-link', function(e) {
|
||||
$('#preview-note').text('Loading...');
|
||||
|
||||
var previewLinkText = ($(this).text() == 'Preview' ? 'Edit' : 'Preview');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue