Skip to content

Commit

Permalink
simpler code
Browse files Browse the repository at this point in the history
  • Loading branch information
gildas-lormeau committed Mar 15, 2012
1 parent c5d276a commit 182ccd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebContent/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function init(data) {
window.open(chrome.extension.getURL("options.html"));
}, false);
document.body.addEventListener("contextmenu", function() {
propertyPath = document.querySelector(".status").innerText;
propertyPath = statusElement.innerText;
}, true);
} else if (msg.json)
port.postMessage({
Expand Down

0 comments on commit 182ccd8

Please sign in to comment.