can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r19404: LJSUP-9199: Link Share not working in Fr...

Committer: dpetrov
LJSUP-9199: Link Share not working in FriendsTimes
U   trunk/htdocs/js/share.js
Modified: trunk/htdocs/js/share.js
===================================================================
--- trunk/htdocs/js/share.js	2011-06-30 08:49:55 UTC (rev 19403)
+++ trunk/htdocs/js/share.js	2011-06-30 09:00:30 UTC (rev 19404)
@@ -168,10 +168,10 @@
 * @param String|Node|Jquery collection Node the popup has to be attached to. Default id a:last
 */
 window.LJShare.link = function( opts, node ) {
-	if( opts && opts.id ) {
-		var id = opts.id;
-		delete opts.id;
-		LJShare.link( opts, $( '#' + id ) );
+	if( opts && opts.share_uniq_id ) {
+		var id = opts.share_uniq_id;
+		delete opts.share_uniq_id;
+		LJShare.link( opts, $( '#' + share_uniq_id ) );
 		return;
 	}
 

Tags: can3p, js, livejournal
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