can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r20221: LJSUP-10011: move link "Report a Bot"

Committer: dpetrov
LJSUP-10011: move link "Report a Bot"
U   trunk/htdocs/js/contextualhover.js
Modified: trunk/htdocs/js/contextualhover.js
===================================================================
--- trunk/htdocs/js/contextualhover.js	2011-10-04 08:56:41 UTC (rev 20220)
+++ trunk/htdocs/js/contextualhover.js	2011-10-05 01:13:51 UTC (rev 20221)
@@ -156,6 +156,7 @@
 					'{{/each}}' +
 					'{{if showBanOptions }}' +
 					'<ul class="b-contextualhover-options">' +
+						'{{if reportBot}}<li><a href="${reportBot.url}">${reportBot.text}</a></li>{{/if}}' +
 						'<li class="b-contextualhover-options-ban">' +
 							'<p><a href="${banUsersLink.url}">${banUsersLink.text}</a>:</p>' +
 							'{{if banCheckboxes}}<div class="b-contextualhover-options-wrap">' +
@@ -164,7 +165,6 @@
 								'{{/each}}' +
 							'</div>{{/if}}' +
 						'</li>' +
-						'{{if reportBot}}<li><a href="${reportBot.url}">${reportBot.text}</a></li>{{/if}}' +
 					'</ul>' +
 					'{{/if}}' +
 					'</div>'

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