fix share ui urls (fixes #42)
This commit is contained in:
parent
e2990b8173
commit
901d4c52cf
1 changed files with 1 additions and 2 deletions
|
@ -834,8 +834,7 @@ c3nav = {
|
||||||
state = $.extend({}, c3nav.state),
|
state = $.extend({}, c3nav.state),
|
||||||
url;
|
url;
|
||||||
if (location.slug) {
|
if (location.slug) {
|
||||||
console.log('bla');
|
url = '/l/' + location.slug + '/';
|
||||||
url = '/' + location.slug + '/';
|
|
||||||
} else {
|
} else {
|
||||||
if (!with_position) {
|
if (!with_position) {
|
||||||
state.center = null;
|
state.center = null;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue