Fix URL updating in Potlatch 1
Potlatch 1 has hard coded calls to updatelinks, so rename the updatelinks function to updateLinks and add an updatelinks function using the old style argument list for Potlatch 1 to call.
This commit is contained in:
parent
a30a29f41a
commit
d5a765588f
5 changed files with 14 additions and 5 deletions
|
@ -37,7 +37,7 @@
|
|||
center = id.map().center(),
|
||||
llz = { lon: center[0], lat: center[1], zoom: zoom };
|
||||
|
||||
parent.updatelinks(llz, zoom);
|
||||
parent.updateLinks(llz, zoom);
|
||||
|
||||
// Manually resolve URL to avoid iframe JS context weirdness.
|
||||
// http://bl.ocks.org/jfirebaugh/5439412
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue