Permalink
Browse files

promo code started

  • Loading branch information...
1 parent 3a13b89 commit 286ad0a727cf8ca547bd018fdf9d7c14d7d73a9a @octatone committed May 16, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 js/tv.js
View
@@ -840,6 +840,10 @@ function checkAnchor(){
}else{
var anchor = Globals.current_anchor.substring(1);
var parts = anchor.split("/"); // #/r/videos/id
+ if(parts[0] === 'promo'){
+ loadPromo(parts[1], parts[2], parts[3]);
+ return true; /* break out */
+ }
var feed = "/"+parts[1]+"/"+parts[2]+"/";
var new_chan_name = getChanName(feed);
if(!new_chan_name){

0 comments on commit 286ad0a

Please sign in to comment.