dynamic label hot fix

This commit is contained in:
Kasper Moskwiak 2015-08-20 18:00:32 +02:00
parent b120a90942
commit 7153217cb5

View file

@ -34,10 +34,6 @@
this.on('touchstart', this.onClick) this.on('touchstart', this.onClick)
}, },
onClick: function(){ onClick: function(){
console.log(this.el().parentNode.children)
this.el().parentNode.children.forEach(function(el){
el.classList.remove('vjs-selected')
})
// Hide bigPlayButton // Hide bigPlayButton
player.bigPlayButton.hide() player.bigPlayButton.hide()
// Remember player state // Remember player state
@ -154,7 +150,6 @@
// Create resolution switcher for videos form <source> tag inside <video> // Create resolution switcher for videos form <source> tag inside <video>
if(player.options_.sources.length > 1){ if(player.options_.sources.length > 1){
console.log(player.options_.sources)
player.updateSrc(player.options_.sources) player.updateSrc(player.options_.sources)
} }