fix share url

This commit is contained in:
Laura Klünder 2019-12-24 13:15:57 +01:00
parent a8d0be6653
commit e7fc0f24ae

View file

@ -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) {