diff --git a/src/plugins/share/share-en.hbs b/src/plugins/share/share-en.hbs index da5a855b51d..130a68228aa 100644 --- a/src/plugins/share/share-en.hbs +++ b/src/plugins/share/share-en.hbs @@ -12,9 +12,7 @@

Add a second link: - - Share this page - +

@@ -23,9 +21,7 @@ <div class="wb-share"></div> <p> <strong>Add a second link:</strong> - <a href="#shr-pg" aria-controls="shr-pg" class="shr-opn overlay-lnk" role="button"> - <span class="glyphicon glyphicon-share"></span> Share this page - </a> + <div class="wb-share link-only text-right"></div> </p>
diff --git a/src/plugins/share/share-fr.hbs b/src/plugins/share/share-fr.hbs index 25c597bdbb9..a00092587eb 100644 --- a/src/plugins/share/share-fr.hbs +++ b/src/plugins/share/share-fr.hbs @@ -12,9 +12,7 @@

Ajouter un deuxième lien : - - Partager cette page - +

@@ -23,9 +21,7 @@ <div class="wb-share"></div> <p> <strong>Ajouter un deuxième lien&#160;:</strong> - <a href="#shr-pg" aria-controls="shr-pg" class="shr-opn overlay-lnk" role="button"> - <span class="glyphicon glyphicon-share"></span> Partager cette page - </a> + <div class="wb-share link-only text-right"></div> </p>
diff --git a/src/plugins/share/share.js b/src/plugins/share/share.js index 3a41fc80fde..e301cf1a30e 100644 --- a/src/plugins/share/share.js +++ b/src/plugins/share/share.js @@ -150,25 +150,28 @@ var pluginName = "wb-share", }; } - panel = ""; link = " " + i18nText.shareText + ""; - $share = $( panel + link ); + $share = $( ( panel ? panel : "" ) + link ); $elm.append( $share );