From 3f96ef94db39ac1f177800a7ed5867a17ab86b38 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 26 Dec 2010 06:37:32 +0800 Subject: [PATCH] Hooked up shorten link for contextual menu. --- 3.1/modules/bitly/js/bitly.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/3.1/modules/bitly/js/bitly.js b/3.1/modules/bitly/js/bitly.js index 35bcd58b..96dcb427 100644 --- a/3.1/modules/bitly/js/bitly.js +++ b/3.1/modules/bitly/js/bitly.js @@ -1,8 +1,6 @@ $(document).ready(function() { - $(".g-bitly-link").click(function(e) { + $(".g-bitly-shorten").click(function(e) { e.preventDefault(); - return; + return window.location = ($(this).attr("href")); }); }); - -