Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r23168: LJSUP-13842: Show space in numbers

Committer: anazarov
LJSUP-13842: Show space in numbers
U   trunk/htdocs/js/livejournal.js
Modified: trunk/htdocs/js/livejournal.js
===================================================================
--- trunk/htdocs/js/livejournal.js	2012-10-18 08:44:51 UTC (rev 23167)
+++ trunk/htdocs/js/livejournal.js	2012-10-18 11:14:10 UTC (rev 23168)
@@ -518,7 +518,7 @@
 
 	if (meta.paid) {
 		template = 'templates-CleanHtml-PaidRepost';
-		meta.owner = !meta.cost;
+		meta.owner = meta.cost === '0';
 		options.classNames = {
 			active: 'paidrepost-button-active',
 			inactive: 'paidrepost-button-inactive'

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