diff --git a/popup/popup.js b/popup/popup.js index 4a7e38d..b2fbd5e 100644 --- a/popup/popup.js +++ b/popup/popup.js @@ -12,7 +12,7 @@ Page.prototype.load = function(){ var image = $(this); $.getJSON("http://www.lgtm.in/g?" + Math.random(), function (data) { image.attr("src", data.imageUrl); - image.click(function(){ + image.unbind().click(function(){ chrome.tabs.sendMessage(tabId, {image: "![LGTM](" + image.attr("src") + ")"}, function(response){}); $(".message").show(500);