books with the on wishlist indicator should not respond to clicking via wishlist.js
parent
3c4d406a82
commit
c0dff3b61c
|
@ -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;
|
||||
|
|
|
@ -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('<span>Adding...</span>').hide();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue