moved log line to after early-exit test

This commit is contained in:
Will Bamberg
2016-01-05 17:11:14 -08:00
parent bcc14c1b7a
commit 8de8946ef2
+1 -1
View File
@@ -1,9 +1,9 @@
window.addEventListener("click", notifyExtension);
function notifyExtension(e) {
console.log("content script sending message");
if (e.target.tagName != "A") {
return;
}
console.log("content script sending message");
chrome.runtime.sendMessage({"url": e.target.href});
}