only force switch if pandora.site.itemRequiresVideo
This commit is contained in:
parent
ac3c84cb9b
commit
5cd963f80b
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ pandora.ui.mediaView = function(options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateForm() {
|
function updateForm() {
|
||||||
if (self.selected.length == self.numberOfItems) {
|
if (pandora.site.itemRequiresVideo && self.selected.length == self.numberOfItems) {
|
||||||
self.wasChecked = self.$switch.value();
|
self.wasChecked = self.$switch.value();
|
||||||
self.$switch.options({
|
self.$switch.options({
|
||||||
disabled: true,
|
disabled: true,
|
||||||
|
|
Loading…
Reference in a new issue