Skip to content
This repository has been archived by the owner on Sep 23, 2022. It is now read-only.

Commit

Permalink
Minor javascript fix w/ preview loading message
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain Pouclet committed Nov 4, 2011
1 parent 33e1e06 commit b316583
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/js/marketplace.js
Expand Up @@ -28,13 +28,13 @@ jQuery(function($) {
preview_link.parent("li").addClass("active");

comment_field_container.hide();
preview_container.text("Loading preview...");
preview_container.show().text("Loading preview...");

$.post("/index.php/comment/preview", {
"markdown_content" : field.val()
}, function (response, textStatus, connection) {
preview_container.show().html(response);
preview_container.html(response);
}, "html");

}).appendTo(parent);
});
});

0 comments on commit b316583

Please sign in to comment.