[openstreetmap-website] Let history viewer respect middle-click and Ctrl+click (#1020)
Midgard
notifications at github.com
Tue Jul 28 19:22:48 UTC 2015
It really doesn't work in Firefox. Seems like jQuery-simulate isn't doing its job properly then.
IMHO, it's a bit overkill as well when you could just do something like
```js
function clickChangeset(id, e) {
var url = "/changeset/"+id;
if (e.button===1 || e.ctrlKey) {
window.open(url);
} else {
window.location = url;
}
}
```
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1020#issuecomment-125726554
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20150728/f5ce0448/attachment.html>
More information about the rails-dev
mailing list