Skip to content

Commit

Permalink
Merge branch 'master' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Joel committed Jan 16, 2012
2 parents f572cd0 + 39441a4 commit 51e2fd7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions public/javascripts/stop_censorship.js
Expand Up @@ -33,7 +33,7 @@ CloudFlare.define(
var self = this,
side = /^right$|^left$/i.test(self.config.position_x) ? self.config.position_x.toLowerCase() : 'right';

return $("<img src='" + cdnPath + "images/badge.png' class='sopa_badge " + side + (dom.internetExplorer < 9 ? " ie" : "") + "'>")
return $("<img src='" + cdnPath + "images/badge.png' class='sopa_badge _cf_censorship_" + side + (dom.internetExplorer < 9 ? " ie" : "") + "'>")
.bind("click", function(){ self.inspirationalDialog() })
},
placeBadge : function(){
Expand Down Expand Up @@ -74,7 +74,7 @@ CloudFlare.define(
$("<option>", {text: state})
)
})
return $("<div class='phone'></div>").append(label).append(dropdown).append(target)
return $("<div></div>").append(label).append(dropdown).append(target)
},

protestContent : function() {
Expand Down Expand Up @@ -103,22 +103,22 @@ CloudFlare.define(
.bind("click", function(){
self.tweetWindow(tweetText())
}),
recensorButton = $("<button class='recensor'>").text("I liked the bars, put them back!")
recensorButton = $("<button>").text("I liked the bars, put them back!")
.bind("click", function(){
user.setCookie("cf_sopa", "")
self.activate()
}),
americanCensorshipLink = $("<a class='more_info'>")
americanCensorshipLink = $("<a>")
.attr("rel","nofollow")
.attr("href",censorshipUrl)
.attr("target", "_blank")
.text("Read more at AmericanCensorship.org"),
githubLink = $("<a class='github'>")
githubLink = $("<a>")
.attr("rel","nofollow")
.attr("href",githubUrl)
.attr("target", "_blank")
.text("Get this app for your page"),
close = $("<button class='close'>").text("Close this window")
close = $("<button>").text("Close this window")
.bind("click", function() {
$.liteDialog('hide');
}),
Expand Down
4 changes: 2 additions & 2 deletions public/stylesheets/stop_censorship.css
Expand Up @@ -17,7 +17,7 @@
z-index: 100000;
}

.sopa_badge.right {
.sopa_badge._cf_censorship_right {
top: 25px;
right: -63px;
-webkit-transform: rotate(45deg);
Expand All @@ -26,7 +26,7 @@
-ms-transform: rotate(45deg);
}

.sopa_badge.left {
.sopa_badge._cf_censorship_left {
top: 25px;
left: -63px;
-webkit-transform:rotate(-45deg);
Expand Down

0 comments on commit 51e2fd7

Please sign in to comment.