mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
refactor: not used anymore
This commit is contained in:
@@ -39,10 +39,6 @@ define('share', ['hooks'], function (hooks) {
|
|||||||
return openShare('https://www.facebook.com/sharer/sharer.php?u=', getPostUrl($(this)), 626, 436);
|
return openShare('https://www.facebook.com/sharer/sharer.php?u=', getPostUrl($(this)), 626, 436);
|
||||||
});
|
});
|
||||||
|
|
||||||
addHandler('[component="share/google"]', function () {
|
|
||||||
return openShare('https://plus.google.com/share?url=', getPostUrl($(this)), 500, 570);
|
|
||||||
});
|
|
||||||
|
|
||||||
hooks.fire('action:share.addHandlers', { openShare: openShare });
|
hooks.fire('action:share.addHandlers', { openShare: openShare });
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user