diff --git a/static/css/campaign.css b/static/css/campaign.css index 3b178f2f..dcdd1103 100755 --- a/static/css/campaign.css +++ b/static/css/campaign.css @@ -474,6 +474,7 @@ a { .on-wishlist span.on-wishlist, .create-account span.on-wishlist { background: url("/static/images/checkmark_small.png") left center no-repeat; + cursor: default; } .add-wishlist span, .add-wishlist-workpage span, .create-account span { background: url("/static/images/booklist/add-wishlist.png") left center no-repeat; diff --git a/static/js/wishlist.js b/static/js/wishlist.js index 4e4f0201..c10c9626 100644 --- a/static/js/wishlist.js +++ b/static/js/wishlist.js @@ -77,7 +77,7 @@ var $k = jQuery.noConflict(); $k(document).delegate(".add-wishlist-workpage span", "click", function() { var span = $k(this); var work_id = span.attr("class"); - if (!work_id) return; + if (!work_id || work_id === "on-wishlist") return; // give immediate feedback that action is in progress newSpan = $j('Adding...').hide(); diff --git a/static/less/campaign.less b/static/less/campaign.less index 6ee7484f..fd5f5d8a 100644 --- a/static/less/campaign.less +++ b/static/less/campaign.less @@ -403,9 +403,6 @@ ul.support li { a{ color:#3d4e53; font-size:12px;} .add-wishlist, .add-wishlist-workpage, &.remove-wishlist-workpage, .remove-wishlist, &.on-wishlist, &.create-account { - //margin-right: 10px; - //padding-right: 10px; - //width: 136px; float: right; cursor: pointer; @@ -417,6 +414,7 @@ a{ color:#3d4e53; font-size:12px;} &.on-wishlist { background:url("@{image-base}checkmark_small.png") left center no-repeat; + cursor: default; } } }