From c4eebb74f520c122800c000c2329d3b6b7520c65 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Wed, 30 Jul 2014 16:47:29 +0700 Subject: Reader link tracking --- web/scripts3.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'web') diff --git a/web/scripts3.js b/web/scripts3.js index 3d35b441..c420dcdb 100644 --- a/web/scripts3.js +++ b/web/scripts3.js @@ -356,6 +356,13 @@ function setPrivacy(e,mid) { /******************************************************************************/ +function readerLinkReplace(e) { + var a=$(e); + a.attr('href','/_out?lid='+a.data('lid')); +} + +/******************************************************************************/ + jQuery.fn.selectText = function(){ var d = document; if (d.body.createTextRange) { -- cgit v1.2.3