-
-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix whatsapp share on mobile devices
- Loading branch information
1 parent
771f62c
commit 4f3e58a
Showing
5 changed files
with
8 additions
and
25 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Sharer.js | ||
* | ||
* @description Create your own social share buttons | ||
* @version 0.5.0 | ||
* @version 0.5.1 | ||
* @author Ellison Leao <[email protected]> | ||
* @license MIT | ||
* | ||
|
@@ -104,7 +104,7 @@ | |
}, | ||
}, | ||
whatsapp: { | ||
shareUrl: this.getValue('web') === 'true' ? 'https://web.whatsapp.com/send' : 'https://api.whatsapp.com/', | ||
shareUrl: this.getValue('web') === 'true' ? 'https://web.whatsapp.com/send' : 'https://wa.me/', | ||
params: { | ||
phone: this.getValue('to'), | ||
text: this.getValue('title') + ' ' + this.getValue('url'), | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.