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

Commit

Permalink
Merge branch 'master' into reddit.com
Browse files Browse the repository at this point in the history
  • Loading branch information
chromakode committed Feb 1, 2009
2 parents 0046e4d + 2d594bf commit 8b2171c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
== Version 1.3.2.1 ==
* Workaround for null subreddit bug.

== Version 1.3.2 ==
* Fix namespace pollution.
* Fix Ctrl-arrow cursor movement in submit bar textbox.
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
em:maxVersion="3.1b2" />
<RDF:Description RDF:about="urn:mozilla:install-manifest"
em:id="socialite@chromakode"
em:version="1.3.2"
em:version="1.3.2.1"
em:type="2"
em:iconURL="chrome://socialite/content/socialite.png"
em:optionsURL="chrome://socialite/content/socialitePreferences.xul"
Expand Down
6 changes: 5 additions & 1 deletion modules/reddit/reddit.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,11 @@ RedditSite.prototype.createBarContentUI = function(document, linkInfo) {
};

let subredditURL = function() {
return site.siteURL+"r/"+barContent.linkInfo.localState.subreddit+"/";
if (barContent.linkInfo.localState.subreddit) {
return site.siteURL+"r/"+barContent.linkInfo.localState.subreddit+"/";
} else {
return site.siteURL;
}
};

this.labelScore.addEventListener("click", function(e) {
Expand Down

0 comments on commit 8b2171c

Please sign in to comment.