1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
Daniel Neto 2023-04-27 18:33:51 -03:00
parent 8117197511
commit 020415d22f
8 changed files with 169 additions and 12 deletions

View file

@ -6,7 +6,7 @@ $("#inputMetaDescription").val('');
$("#inputShortSummary").val('');
if (typeof row.externalOptions !== 'undefined' && row.externalOptions) {
var json = JSON.parse(row.externalOptions);
var json = typeof row.externalOptions == 'string' ? JSON.parse(row.externalOptions):row.externalOptions;
if(json.doNotShowAdsOnThisVideo){
$("#doNotShowAdsOnThisVideo").prop("checked", true);