aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/checkin-context.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/lib/checkin-context.js')
-rw-r--r--data/lib/checkin-context.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/lib/checkin-context.js b/data/lib/checkin-context.js
index 4d073be..8ae482d 100644
--- a/data/lib/checkin-context.js
+++ b/data/lib/checkin-context.js
@@ -1,9 +1,9 @@
-on('click', function(node, data) {
+self.on('click', function(node, data) {
var message = document.getElementById("__bz_tw_checkin_comment");
- postMessage(message.textContent);
+ self.postMessage(message.textContent);
});
-on('context', function(node) {
+self.on('context', function(node) {
if (!onBugzillaPage(document.URL))
return false;
var message = document.getElementById("__bz_tw_checkin_comment");