parts not used

This commit is contained in:
barisusakli
2016-06-15 10:11:27 +03:00
parent b29715fa37
commit 0d4949ea26

View File

@@ -51,7 +51,6 @@ define('share', function() {
}
function getPostUrl(clickedElement) {
var parts = window.location.pathname.split('/');
var pid = parseInt(clickedElement.parents('[data-pid]').attr('data-pid'), 10);
return '/post' + (pid ? '/' + (pid) : '');
}