Skip to content

Commit

Permalink
Merge pull request #1064 from kaltura/SUP-2741
Browse files Browse the repository at this point in the history
#SUP-2741 #time 1h #comment fix for store session
  • Loading branch information
amirch1 committed Oct 14, 2014
2 parents b445d1d + 68a7376 commit 2cc7cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/KalturaSupport/resources/mw.KAds.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@
_this.setPersistentConfig( 'contentIndex', 0);
}
// always increment contentIndex ( starts on 1 ):
_this.setPersistentConfig( 'contentIndex', _this.getPersistentConfig( 'contentIndex') + 1 );
_this.setPersistentConfig( 'contentIndex', parseInt(_this.getPersistentConfig( 'contentIndex')) + 1 );
// check if we should play an ad:
if( _this.getPersistentConfig( 'contentIndex') >= startWith
&&
Expand Down

0 comments on commit 2cc7cfe

Please sign in to comment.