Permalink
Browse files

Update to accommodate for "link" link becoming the "share" link

  • Loading branch information...
1 parent 2983e1e commit d45bef9eaf2bc7fb0049dd50c42bf23e9306d6b7 @tms tms committed Jul 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 SEModifications.user.js
View
@@ -93,7 +93,7 @@ with_jquery(function ($) {
$(".post-menu").each(function() {
var self = $(this),
postLink = question,
- id = self.find("a:contains('link')")[0].href.replace(/^.*\/a\//, "").replace(/\/\d+(?:#.*)?$/, "");;
+ id = self.find("a.short-link")[0].href.replace(/^.*\/a\//, "").replace(/\/\d+(?:#.*)?$/, "");;
if (!revisions) {
revisions = "/posts/" + id + "/revisions";

0 comments on commit d45bef9

Please sign in to comment.