Skip to content

Commit 731cbdb

Browse files
committed
Fix in examples.htm
1 parent 229a572 commit 731cbdb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/examples.htm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,10 @@ <h1 id="version"><a href=".." style="color:green">JSROOT</a></h1>
563563
}
564564

565565
if (entry.url) url = entry.url; else
566-
if (entry.asurl) url = "?file=" + filename + "&item=" + itemname + "&opt=" + opt;
566+
if (entry.asurl) {
567+
url = jsonname ? "?json=" + jsonname : "?file=" + filename + "&item=" + itemname;
568+
url += "&opt=" + opt;
569+
}
567570

568571
// console.log('KEY ', keyid, 'opt', opt);
569572
// if ((url.length==0) || (keyid != 'Misc')) return RunBigTest(0);

0 commit comments

Comments
 (0)