$(document).ready(function(){ $(document).on('mouseenter',".voteTick",function(e) { var showThisTip = $(this).attr("data-rel"), topPost = 0; $("#thumb_vote_message_holder_ span").hide(); $(showThisTip).show(); $(".thumb_vote_message_holder, .thumb_vote_message_holder .arrow-down").show(); var elementLeftPost = parseInt($(this).position().left) - 5, topPost = parseInt($(".thumb_vote_message_holder").height()); $(".thumb_vote_message_holder").css({"top":"-"+topPost+"px","background-color": "#000000"}); if($(this).parent().hasClass("tweetToVote") && $(".showentrymultiple").is(":visible")){ } else { $(".thumb_vote_message_holder .arrow-down").css({"left":elementLeftPost}); } if($(this).parent().hasClass("tweetToVote")){ $(".thumb_vote_message_holder .arrow-down").css({"bottom":"-6px"}); $(".thumb_vote_message_holder").css({"right":"0px"}); } }); $(document).on('mouseleave',".voteTick",function() { $(".thumb_vote_message_holder, .thumb_vote_message_holder span").attr("style","").hide(); }); $("#my_love_it_button").addClass("onlyVote"); }); // First, load the widgets.js file asynchronously window.twttr = (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {}; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); t._e = []; t.ready = function(f) { t._e.push(f); }; return t; }(document, "script", "twitter-wjs")); // Wait for the asynchronous resources to load twttr.ready(function (twttr) { // Now bind our custom intent events twttr.events.bind('tweet', v_TweetToVote); }); function v_TweetToVote(){ var msg = "Thanks for voting!"; $("#votediv .subButton a#tweetToVote .voteTick").remove(); $("#votediv .subButton a#tweetToVote").append(''); $("#thumb_vote_message_holder_ .thumb_vote_message_thanks").show().html(msg); }

Invalid Signature