Skip to content
This repository
Browse code

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

  • Loading branch information...
commit d45bef9eaf2bc7fb0049dd50c42bf23e9306d6b7 1 parent 2983e1e
Tim Stone authored July 23, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  SEModifications.user.js
2  SEModifications.user.js
@@ -93,7 +93,7 @@ with_jquery(function ($) {
93 93
 		$(".post-menu").each(function() {
94 94
 			var self = $(this),
95 95
 				postLink = question,
96  
-				id = self.find("a:contains('link')")[0].href.replace(/^.*\/a\//, "").replace(/\/\d+(?:#.*)?$/, "");;
  96
+				id = self.find("a.short-link")[0].href.replace(/^.*\/a\//, "").replace(/\/\d+(?:#.*)?$/, "");;
97 97
 
98 98
 			if (!revisions) {
99 99
 				revisions = "/posts/" + id + "/revisions";

0 notes on commit d45bef9

Please sign in to comment.
Something went wrong with that request. Please try again.