Permalink
Browse files

handle m.facebook.com links

  • Loading branch information...
snarfed committed Oct 22, 2014
1 parent 2f1a3f0 commit 962a11c4168206a422c3b2532f9c3c6265669f75
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/press-this.js
View
@@ -66,7 +66,8 @@ window.onload = function () {
var prefix = content_prefixes[type] +
"<a class='" + classes[type] + "' href='" + match[1] + "'>";
if (match[1].startsWith("https://www.facebook.com/")) {
if (match[1].startsWith("https://www.facebook.com/") ||
match[1].startsWith("https://m.facebook.com/")) {
/* Facebook. Add embed and Bridgy publish link. */
if (type == 'rsvp') {
content.value = prefix + 'this event</a>:';

0 comments on commit 962a11c

Please sign in to comment.