Skip to content

Instantly share code, notes, and snippets.

@spastorino
Created February 10, 2011 19:11
Show Gist options
  • Save spastorino/821125 to your computer and use it in GitHub Desktop.
Save spastorino/821125 to your computer and use it in GitHub Desktop.
--- /Applications/Propane.app/Contents/Resources/enhancer.js 2011-02-10 17:05:02.000000000 -0200
+++ /Applications/Propane.app/Contents/Resources/enhancer.js 2011-02-10 17:00:41.000000000 -0200
@@ -74,7 +74,7 @@
var author = message.authorElement();
if (author.visible()) {
- author.insert({after: '<img alt="'+message.author()+'" width="24" height="24" align="top" style="margin-left: 5px; border-radius:3px" src="http://globase.heroku.com/redirect/gh.gravatars.'+this.authorID(message)+'?default=https://github.com/images/gravatars/gravatar-20.png">'});
+ author.insert({after: '<img alt="'+message.author()+'" width="24" height="24" align="top" style="margin-left: 5px; border-radius:3px" src="'+author.getAttribute('data-avatar')+'">'});
author.hide()
message.bodyCell.insert({top: '<strong>' + message.author() + '</strong>'})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment