fix share url
This commit is contained in:
parent
a8d0be6653
commit
e7fc0f24ae
1 changed files with 2 additions and 1 deletions
|
@ -810,7 +810,8 @@ c3nav = {
|
|||
var $share = $('#modal').find('.share-ui'),
|
||||
state = $.extend({}, c3nav.state),
|
||||
url;
|
||||
if (location) {
|
||||
if (location.slug) {
|
||||
console.log('bla');
|
||||
url = '/' + location.slug + '/';
|
||||
} else {
|
||||
if (!with_position) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue