mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 11:31:23 +01:00
parts not used
This commit is contained in:
@@ -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) : '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user