Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

Commit

Permalink
Clear hover timeouts on header clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
excuses committed Jan 28, 2014
1 parent 536eae4 commit 25416fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/tv.js
Expand Up @@ -1117,6 +1117,8 @@ var RedditTV = Class.extend({
var vidList = $('#video-list');
if (clicked) {
vidList.addClass('clicked');
window.clearTimeout(self.Globals.videoListOpenTimeout);
window.clearTimeout(self.Globals.videoListCloseTimeout);
} else {
vidList.removeClass('clicked');
}
Expand Down

0 comments on commit 25416fd

Please sign in to comment.