commit | 8ec3632e62bc519dd5842e2c86925d27538b751b | [log] [tgz] |
---|---|---|
author | brohlfs <brohlfs@google.com> | Thu Feb 28 11:51:50 2019 +0100 |
committer | brohlfs <brohlfs@google.com> | Thu Feb 28 11:52:51 2019 +0100 |
tree | 2759243f94d9a981f80f36dcff3941db1491111b | |
parent | e8351d775513b69eb55ccfb42e9b2328ee479b9a [diff] |
Fix 'event is not defined' exception in onClick handler Change-Id: If1bb8c68a373b4104cb8c3ac638357a5092e8237
diff --git a/src/main/resources/static/find-owners.js b/src/main/resources/static/find-owners.js index 4f3522f..c773aa9 100644 --- a/src/main/resources/static/find-owners.js +++ b/src/main/resources/static/find-owners.js
@@ -577,7 +577,7 @@ changeActions.addTapListener(actionKey, () => popupFindOwnersPage(null, change, revision, false)); } - function onClick(e) { + function onClick(event) { if (pageDiv.style.visibility != 'hidden' && !useContextPopup) { var x = event.clientX; var y = event.clientY;