From 5cd963f80b1415be6df17312c2e04eac7f4c4f31 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 31 Jul 2014 21:58:38 +0200 Subject: [PATCH] only force switch if pandora.site.itemRequiresVideo --- static/js/mediaView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/mediaView.js b/static/js/mediaView.js index 5fafd801..51f3260e 100644 --- a/static/js/mediaView.js +++ b/static/js/mediaView.js @@ -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,