Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r19682: LJSUP-8974: RTE: Ability to add and disp...

Committer: vkurkin
LJSUP-8974: RTE: Ability to add and display lj-like buttons
U   trunk/htdocs/js/ck/plugins/livejournal/plugin.js
Modified: trunk/htdocs/js/ck/plugins/livejournal/plugin.js
===================================================================
--- trunk/htdocs/js/ck/plugins/livejournal/plugin.js	2011-08-10 06:58:25 UTC (rev 19681)
+++ trunk/htdocs/js/ck/plugins/livejournal/plugin.js	2011-08-10 07:08:12 UTC (rev 19682)
@@ -776,7 +776,7 @@
 
 			//////////  LJ Like Button //////////////
 			var buttonsLength = likeButtons.length;
-			var dialogContent = '<ul class="likes">';
+			var dialogContent = '<div class="cke-dialog-likes"><ul class="cke-dialog-likes-list">';
 			likeButtons.defaultButtons = [];
 
 			for(var i = 0; i < buttonsLength; i++){
@@ -786,7 +786,7 @@
 				dialogContent += button.htmlOpt;
 			}
 
-			dialogContent += '</ul>' + window.faqLink;
+			dialogContent += '</ul><p class="cke-dialog-likes-faq">' + window.faqLink + '</p></div>';
 
 			var countChanges = 0, ljLikeDialog, ljLikeInputs;
 			

Tags: b_vladi, 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