only force switch if pandora.site.itemRequiresVideo

This commit is contained in:
j 2014-07-31 21:58:38 +02:00
parent ac3c84cb9b
commit 5cd963f80b

View file

@ -602,7 +602,7 @@ pandora.ui.mediaView = function(options) {
}
function updateForm() {
if (self.selected.length == self.numberOfItems) {
if (pandora.site.itemRequiresVideo && self.selected.length == self.numberOfItems) {
self.wasChecked = self.$switch.value();
self.$switch.options({
disabled: true,