projects
/
rails.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Split engine id into mode and provider
[rails.git]
/
app
/
assets
/
javascripts
/
fixthemap.js
1
$(document).ready(function () {
2
const params = OSM.params();
3
4
let url = "/note/new";
5
if (!params.zoom) params.zoom = 17;
6
if (params.lat && params.lon) url += OSM.formatHash(params);
7
$(".icon.note").attr("href", url);
8
});