diff --git a/static/clicks.js b/static/clicks.js index 8f8252a..c67b4f8 100644 --- a/static/clicks.js +++ b/static/clicks.js @@ -121,7 +121,7 @@ Clicks.prototype.onAddVideoValueChanged_ = function(e) { var parse = document.createElement('a'); parse.href = value; - if (parse.hostname == 'youtu.be' || parse.hostname == 'www.youtu.be' && parse.pathname.length == 12) { + if ((parse.hostname == 'youtu.be' || parse.hostname == 'www.youtu.be') && parse.pathname.length == 12) { this.addVideo(parse.pathname.substring(1)); return; }