Skip to content

Commit

Permalink
don't yell when parsing youtube params
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Mircea Messel committed Feb 11, 2013
1 parent 9ad4938 commit d6c37e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/js/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,8 @@ function handleLinksAndEscape(text) {

function paramize(text) {
if (!text.match(/(\d\d?m)?\d\d?s/g)) {
alert(text);
// nu tipa..
console.log('paramize when parsing youtube url: ' + text);
return '';
};
var time = 0;
Expand Down

0 comments on commit d6c37e8

Please sign in to comment.