about summary refs log tree commit diff
path: root/third_party/gerrit/0002-Syntax-highlight-nix.patch
diff options
context:
space:
mode:
authorLuke Granger-Brown <hg@lukegb.com>2020-07-26T00·17+0100
committerlukegb <lukegb@tvl.fyi>2020-07-26T11·29+0000
commita5c7e03dbdc754996c76a32a9c7d157bd5c938de (patch)
treeb43024d34284d523f46958e358100986e9c60089 /third_party/gerrit/0002-Syntax-highlight-nix.patch
parentc3608fdf87b34eff33270bf91db3ec35d696f6a2 (diff)
fix(gerrit): fix hovercards under Firefox r/1479
Firefox doesn't implement the IE6 fromElement/toElement, and it's
not in the MouseEvent spec (at the moment).

Replace with the worse-named but better-specified target and
relatedTarget attributes instead.

Upstream change: https://gerrit-review.googlesource.com/q/I9eeb26c032a38de9d7185749373c7982c796acb2

Change-Id: I9f9a1eb9342bc80b91b5b364a04cc5fa9a7ccaeb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1442
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'third_party/gerrit/0002-Syntax-highlight-nix.patch')
-rw-r--r--third_party/gerrit/0002-Syntax-highlight-nix.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/gerrit/0002-Syntax-highlight-nix.patch b/third_party/gerrit/0002-Syntax-highlight-nix.patch
index 9df29ab07b46..4353f1e4774d 100644
--- a/third_party/gerrit/0002-Syntax-highlight-nix.patch
+++ b/third_party/gerrit/0002-Syntax-highlight-nix.patch
@@ -1,7 +1,7 @@
 From 1310ad5e56248bf216774cd13e828ba76e0c6f65 Mon Sep 17 00:00:00 2001
 From: Luke Granger-Brown <git@lukegb.com>
 Date: Thu, 2 Jul 2020 23:02:32 +0100
-Subject: [PATCH 2/6] Syntax highlight nix
+Subject: [PATCH 2/7] Syntax highlight nix
 
 ---
  .../app/elements/diff/gr-syntax-layer/gr-syntax-layer.js         | 1 +