Skip to content

Commit

Permalink
Enough to check for this.tech != null
Browse files Browse the repository at this point in the history
  • Loading branch information
tchakabam committed Mar 12, 2014
1 parent cbefd37 commit 26f6f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ vjs.Player.prototype.userActive = function(bool){
// When this gets resolved in ALL browsers it can be removed
// https://code.google.com/p/chromium/issues/detail?id=103041

if(typeof(this.tech) != 'undefined') {
if(this.tech) {
this.tech.one('mousemove', function(e){
e.stopPropagation();
e.preventDefault();
Expand Down

0 comments on commit 26f6f4b

Please sign in to comment.