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

[livejournal] r22457: LJSUP-12658: LiveJournal Ratings for 24 ...

Committer: anazarov
LJSUP-12658: LiveJournal Ratings for 24 hours
U   trunk/htdocs/js/basic.js
Modified: trunk/htdocs/js/basic.js
===================================================================
--- trunk/htdocs/js/basic.js	2012-07-17 08:08:17 UTC (rev 22456)
+++ trunk/htdocs/js/basic.js	2012-07-17 08:14:32 UTC (rev 22457)
@@ -923,7 +923,7 @@
 			case 'string':
 				/* Sometimes detection fails (when options string has line breaks) */
 				try {
-					options = JSON.parse(options || '{}');
+					options = LiveJournal.JSON.parse(options || '{}');
 				} catch (error) {
 					LJ.console.warn('Invalid options string: ' + options);
 					options = {};

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