mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
parent
8117197511
commit
020415d22f
8 changed files with 169 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue