can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r21897: LJSUP-12032: Display social capital in c...

Committer: dpetrov
LJSUP-12032: Display social capital in contextual hover. text() method
returns empty string for scripts in IE8
U   trunk/htdocs/js/basic.js
Modified: trunk/htdocs/js/basic.js
===================================================================
--- trunk/htdocs/js/basic.js	2012-05-04 22:39:21 UTC (rev 21896)
+++ trunk/htdocs/js/basic.js	2012-05-05 06:44:59 UTC (rev 21897)
@@ -350,7 +350,8 @@
 	type = type || 'JQuery';
 
 	if (node.length > 0) {
-		template = node.text();
+		//jQuery.text() method returns empty string in IE8
+		template = node.html();
 	} else {
 		template = id;
 	}

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