fix recording creator

This commit is contained in:
Luke Pulverenti 2016-02-14 21:55:05 -05:00
parent 6fb474ce5f
commit f699dc85dd

View File

@ -280,7 +280,7 @@
if (program.ServiceName == 'Emby') {
context.querySelector('.convertRecordingsContainer').classList.remove('hide');
showConvertRecordingsUnlockMessage();
showConvertRecordingsUnlockMessage(context);
} else {
context.querySelector('.convertRecordingsContainer').classList.add('hide');
}
@ -291,8 +291,8 @@
function showConvertRecordingsUnlockMessage(context) {
Dashboard.getPluginSecurityInfo().then(function(regInfo) {
if (regInfo.IsRegistered) {
if (regInfo.IsMBSupporter) {
context.querySelector('.btnSupporterForConverting').classList.add('hide');
} else {
context.querySelector('.btnSupporterForConverting').classList.remove('hide');