Skip to content

Commit

Permalink
Merge remote branch 'tms/master'. Closes gh-10
Browse files Browse the repository at this point in the history
  • Loading branch information
rchern committed Oct 28, 2010
2 parents 2420dfe + 9fbdef0 commit 7e05377
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SEModifications.user.js
Expand Up @@ -48,6 +48,7 @@ with_jquery(function ($) {
var post = questionURL.replace("questions", "posts").replace(/\/[^\/]*$/, ""),
timeline = post + "/timeline",
revisions = post + "/revisions";
$("#question .post-menu").append("<span class='lsep'>|</span><a href='" + timeline + "'>timeline</a>");
$(".post-menu").each(function() {
if (!revisions)
revisions = "/posts"
Expand All @@ -57,7 +58,7 @@ with_jquery(function ($) {
.replace(/#.*/, "")
+ "/revisions";

$(this).append("<span class='lsep'>|</span><a href='" + timeline + "'>timeline</a><span class='lsep'>|</span><a href='" + revisions + "'>history</a>");
$(this).append("<span class='lsep'>|</span><a href='" + revisions + "'>history</a>");

revisions = null;
});
Expand Down

0 comments on commit 7e05377

Please sign in to comment.