Палсеич— (lusever) wrote in changelog,
Палсеич—
lusever
changelog

[livejournal] r17186: LJSUP-6515: Custom Userheads.

Committer: pkornilov
LJSUP-6515: Custom Userheads.
U   trunk/htdocs/js/contextualhover.js
Modified: trunk/htdocs/js/contextualhover.js
===================================================================
--- trunk/htdocs/js/contextualhover.js	2010-08-24 07:40:53 UTC (rev 17185)
+++ trunk/htdocs/js/contextualhover.js	2010-08-24 07:54:34 UTC (rev 17186)
@@ -464,7 +464,7 @@
 	}
 	
 	// buy the same userhead
-	if (data.is_logged_in && data.is_person && ! data.is_requester && data.url_message) {
+	if (data.is_logged_in && data.is_person && ! data.is_requester && data.is_custom_userhead) {
 		jQuery('<a/>', {
 			href: data.url_buy_userhead,
 			text: data.ml_buy_same_userhead
@@ -472,7 +472,7 @@
 		.appendTo(content);
 		content.appendChild(document.createElement('br'));
 	}
-
+	
 	// send message
 	if (data.is_logged_in && data.is_person && ! data.is_requester && data.url_message) {
 		jQuery('<a/>', {

Tags: js, livejournal, lusever
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments