Browse Source

Trim ?s=19 junk from tweet refs

pull/126/head
Lal'C Mellk Mal 1 year ago
parent
commit
86a715315d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      client/embed.js

+ 1
- 1
client/embed.js View File

@@ -236,7 +236,7 @@ $DOC.on('mouseenter', '.soundcloud', function (event) {

/* TWITTER */

window.twitter_url_re = /(?:>>>*?)?(?:https?:\/\/)?(?:www\.|mobile\.|m\.)?twitter\.com\/(\w{1,15})\/status\/(\d{4,20})\/?/;
window.twitter_url_re = /(?:>>>*?)?(?:https?:\/\/)?(?:www\.|mobile\.|m\.)?twitter\.com\/(\w{1,15})\/status\/(\d{4,20})\/?(?:\?s=\d+)?/;

$DOC.on('click', '.tweet', function (e) {
if (e.which > 1 || e.metaKey || e.ctrlKey || e.altKey || e.shiftKey)


Loading…
Cancel
Save