diff --git a/static/js/wishlist.js b/static/js/wishlist.js index 9c08bae3..47435eb6 100644 --- a/static/js/wishlist.js +++ b/static/js/wishlist.js @@ -40,7 +40,7 @@ $j().ready(function() { contentblock.on("click", "div.create-account", function () { var span = $j(this).find("span"); var work_url = span.attr('title') - window.location = "/accounts/login/?next=" + work_url; + top.location = "/accounts/login/?next=" + work_url; }); // in panel view on the supporter page we want to remove the entire book listing from view upon wishlist-remove