Палсеич— (lusever) wrote in changelog,
Палсеич—
lusever
changelog

[livejournal] r17168: LJRU-2122: Userhead menu stat.

Committer: pkornilov
LJRU-2122: Userhead menu stat.
U   trunk/htdocs/js/contextualhover.js
Modified: trunk/htdocs/js/contextualhover.js
===================================================================
--- trunk/htdocs/js/contextualhover.js	2010-08-20 08:47:54 UTC (rev 17167)
+++ trunk/htdocs/js/contextualhover.js	2010-08-20 09:36:41 UTC (rev 17168)
@@ -615,15 +615,12 @@
 		ippu.element.css('overflow', 'visible');
 	}
 	
-	// stat in 5%
-	if (Math.random()*1.05 > 1) {
-		if (!data.is_logged_in) { //  anonymouse
-			new Image().src = 'http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&ad=186396&bt=21&pid=482107&bid=893162&bn=893162&rnd='+Math.random();
-		} else if (data.is_requester) { // self
-			new Image().src = 'http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&ad=186396&bt=21&pid=482107&bid=893165&bn=893165&rnd='+Math.random();
-		} else { // not self
-			new Image().src = 'http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&ad=186396&bt=21&pid=482107&bid=893167&bn=893167&rnd='+Math.random();
-		}
+	if (!data.is_logged_in) { //  anonymouse
+		new Image().src = 'http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&ad=186396&bt=21&pid=482107&bid=893162&bn=893162&rnd='+Math.random();
+	} else if (data.is_requester) { // self
+		new Image().src = 'http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&ad=186396&bt=21&pid=482107&bid=893165&bn=893165&rnd='+Math.random();
+	} else { // not self
+		new Image().src = 'http://ad.adriver.ru/cgi-bin/rle.cgi?sid=1&ad=186396&bt=21&pid=482107&bid=893167&bn=893167&rnd='+Math.random();
 	}
 }
 

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