PluginProbe
Elementor Website Builder – more than just a page builder / 3.0.3
Elementor Website Builder – more than just a page builder v3.0.3
4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 All 455 releases
← All changes | assets/lib/share-link/share-link.js +4 -16 4.3.0 → 3.0.3 View file →
@@ -15,19 +15,8 @@
15 15 var bindShareClick = function( networkName ) {
16 16 $element.on( 'click', function() {
17 17 openShareLink( networkName );
18 18 } );
19 -
20 - // Add "Enter" and "Space" event only if the element has role=button attribute.
21 - if ( 'button' === $element.attr( 'role' ) ) {
22 - $element.on( 'keyup', ( event ) => {
23 - if ( 13 === event.keyCode || 32 === event.keyCode ) {
24 - event.preventDefault();
25 -
26 - openShareLink( networkName );
27 - }
28 - } );
29 - }
30 19 };
31 20
32 21 var openShareLink = function( networkName ) {
33 22 var shareWindowParams = '';
@@ -83,17 +72,16 @@
83 72 init();
84 73 };
85 74
86 75 ShareLink.networkTemplates = {
87 - twitter: 'https://twitter.com/intent/tweet?text={text}\x20{url}',
88 - 'x-twitter': 'https://x.com/intent/tweet?text={text}\x20{url}',
76 + twitter: 'https://twitter.com/intent/tweet?text={text}{url}',
89 77 pinterest: 'https://www.pinterest.com/pin/create/button/?url={url}&media={image}',
90 78 facebook: 'https://www.facebook.com/sharer.php?u={url}',
91 - threads: 'https://threads.net/intent/post?text={text}\x20{url}',
92 79 vk: 'https://vkontakte.ru/share.php?url={url}&title={title}&description={text}&image={image}',
93 80 linkedin: 'https://www.linkedin.com/shareArticle?mini=true&url={url}&title={title}&summary={text}&source={url}',
94 81 odnoklassniki: 'https://connect.ok.ru/offer?url={url}&title={title}&imageUrl={image}',
95 82 tumblr: 'https://tumblr.com/share/link?url={url}',
83 + delicious: 'https://del.icio.us/save?url={url}&title={title}',
96 84 google: 'https://plus.google.com/share?url={url}',
97 85 digg: 'https://digg.com/submit?url={url}',
98 86 reddit: 'https://reddit.com/submit?url={url}&title={title}',
99 87 stumbleupon: 'https://www.stumbleupon.com/submit?url={url}',
@@ -98,11 +86,11 @@
98 86 reddit: 'https://reddit.com/submit?url={url}&title={title}',
99 87 stumbleupon: 'https://www.stumbleupon.com/submit?url={url}',
100 88 pocket: 'https://getpocket.com/edit?url={url}',
101 89 whatsapp: 'https://api.whatsapp.com/send?text=*{title}*%0A{text}%0A{url}',
102 - xing: 'https://www.xing.com/spi/shares/new?url={url}',
90 + xing: 'https://www.xing.com/app/user?op=share&url={url}',
103 91 print: 'javascript:print()',
104 - email: 'mailto:?subject={title}&body={text}%0A{url}',
92 + email: 'mailto:?subject={title}&body={text}\n{url}',
105 93 telegram: 'https://telegram.me/share/url?url={url}&text={text}',
106 94 skype: 'https://web.skype.com/share?url={url}',
107 95 };
108 96