refactor: not used anymore

This commit is contained in:
Barış Soner Uşaklı
2022-05-01 23:04:57 -04:00
parent 1d446e14fc
commit d2e6f31717

View File

@@ -39,10 +39,6 @@ define('share', ['hooks'], function (hooks) {
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 });
};