aboutsummaryrefslogtreecommitdiffstats
path: root/data/js/cc-context.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/js/cc-context.js')
-rw-r--r--data/js/cc-context.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/js/cc-context.js b/data/js/cc-context.js
new file mode 100644
index 0000000..38397a9
--- /dev/null
+++ b/data/js/cc-context.js
@@ -0,0 +1,8 @@
+on('click', function(node, data) {
+ var style = document.getElementById("bztw_cc");
+ style.disabled = !style.disabled;
+});
+
+on('context', function(node) {
+ return onBugzillaPage(document.URL);
+});