summaryrefslogtreecommitdiff
path: root/src/rz_core.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-12-08 01:35:23 +0200
committerAlon Levy <alon@pobox.com>2014-12-08 01:35:23 +0200
commitde45f6c14f91a5cd1be833ffab164ada012a6838 (patch)
tree27724d6ba8ce8e02bfd6be27adae6809fece1433 /src/rz_core.js
parent81811ffa0771fa799621e56bfe6f53116436a68b (diff)
fix link unclickable regression
Diffstat (limited to 'src/rz_core.js')
-rw-r--r--src/rz_core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rz_core.js b/src/rz_core.js
index d81d9699..9a081dfa 100644
--- a/src/rz_core.js
+++ b/src/rz_core.js
@@ -666,7 +666,7 @@ function svg_click_handler(e) {
zoomInProgress = false;
return;
}
- if (e.originalEvent.target.id == 'svg-input') {
+ if (e.originalEvent.target.nodeName != 'svg') {
return;
}
svgInput.hide();