Skip to content

Commit

Permalink
Fix #143 + release v2.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Beauvais committed Aug 11, 2019
1 parent e8efffe commit a2af057
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<a name="2.4.6"></a>
# [2.4.6](https://github.com/nicolasbeauvais/vue-social-sharing/compare/2.4.5...2.4.6) (2019-08-11)
- Fix IOS Twitter sharing with empty hashtags, again

<a name="2.4.5"></a>
# [2.4.5](https://github.com/nicolasbeauvais/vue-social-sharing/compare/2.4.4...2.4.5) (2019-05-31)
- Fix IOS Twitter sharing with empty hashtags
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-social-sharing",
"version": "2.4.5",
"version": "2.4.6",
"homepage": "https://github.com/nicolasbeauvais/vue-social-sharing",
"authors": [
"nicolasbeauvais <nicolasbeauvais1@gmail.com>"
Expand Down
6 changes: 3 additions & 3 deletions dist/vue-social-sharing.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-social-sharing v2.4.5
* vue-social-sharing v2.4.6
* (c) 2019 nicolasbeauvais
* Released under the MIT License.
*/
Expand Down Expand Up @@ -249,7 +249,7 @@ var SocialSharing = {
* Source: https://github.com/nicolasbeauvais/vue-social-sharing/issues/143
*/
if (network === 'twitter' && this.hashtags.length === 0) {
url.replace('&hashtags=@hashtags', '');
url = url.replace('&hashtags=@hashtags', '');
}

return url
Expand Down Expand Up @@ -389,7 +389,7 @@ var SocialSharing = {
}
};

SocialSharing.version = '2.4.5';
SocialSharing.version = '2.4.6';

SocialSharing.install = function (Vue) {
Vue.component('social-sharing', SocialSharing);
Expand Down
6 changes: 3 additions & 3 deletions dist/vue-social-sharing.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-social-sharing v2.4.5
* vue-social-sharing v2.4.6
* (c) 2019 nicolasbeauvais
* Released under the MIT License.
*/
Expand Down Expand Up @@ -251,7 +251,7 @@ var SocialSharing = {
* Source: https://github.com/nicolasbeauvais/vue-social-sharing/issues/143
*/
if (network === 'twitter' && this.hashtags.length === 0) {
url.replace('&hashtags=@hashtags', '');
url = url.replace('&hashtags=@hashtags', '');
}

return url
Expand Down Expand Up @@ -391,7 +391,7 @@ var SocialSharing = {
}
};

SocialSharing.version = '2.4.5';
SocialSharing.version = '2.4.6';

SocialSharing.install = function (Vue) {
Vue.component('social-sharing', SocialSharing);
Expand Down
4 changes: 2 additions & 2 deletions dist/vue-social-sharing.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-social-sharing",
"description": "A Vue.js component for sharing links to social networks",
"version": "2.4.5",
"version": "2.4.6",
"author": {
"name": "nicolasbeauvais",
"email": "nicolasbeauvais1@gmail.com"
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import SocialSharing from './social-sharing';

SocialSharing.version = '2.4.5';
SocialSharing.version = '2.4.6';

SocialSharing.install = (Vue) => {
Vue.component('social-sharing', SocialSharing);
Expand Down

0 comments on commit a2af057

Please sign in to comment.