Permalink
Browse files

Replace watch/unwatch links after intel map update

This is still brittle because we are depending on the compiled function
name, but at least it replaces the watch and unwatch links for now.
  • Loading branch information...
1 parent d32256c commit c9d0842a4f7b4749f072d836bd28d943312653c9 @ichthyos committed Dec 15, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 chrome-extension/override-ingress.js
@@ -7,10 +7,10 @@ function NOTIFY_watch(title, latE6, lngE6, watched) {
}
-var ORIG_xd = xd;
-xd = function(a, b) {
+var ORIG_yd = yd;
+yd = function(a, b) {
var node = document.createElement('div');
- node.innerHTML = ORIG_xd(a, b);
+ node.innerHTML = ORIG_yd(a, b);
// TODO: Do this cleaner.
var elements = node.getElementsByTagName('div');

0 comments on commit c9d0842

Please sign in to comment.