src/js/widgets/tweetsWidget.js
branchtweet-widget
changeset 282 1001234e5e6e
parent 278 ff20c80c6845
child 285 b7aa28af2c10
equal deleted inserted replaced
281:7edd686a2b2a 282:1001234e5e6e
    35   }
    35   }
    36 
    36 
    37   this.drawTweet(annotation);
    37   this.drawTweet(annotation);
    38 
    38 
    39   var time = this._Popcorn.currentTime();  
    39   var time = this._Popcorn.currentTime();  
    40   this._timeoutId = window.setTimeout(IriSP.wrap(this, this.clearPanel), 10000);
    40   this._timeoutId = window.setTimeout(IriSP.wrap(this, this.clearPanel), IriSP.widgetsDefaults.TweetsWidget.tweet_display_period);
    41 };
    41 };
    42 
    42 
    43 
    43 
    44 IriSP.TweetsWidget.prototype.clearPanel = function() {  
    44 IriSP.TweetsWidget.prototype.clearPanel = function() {  
    45     this._displayingTweet = false;
    45     this._displayingTweet = false;