ent/doc: add recursive o2o relation

Reviewed By: alexsn

Differential Revision: D17046402

fbshipit-source-id: 0796e289816aed9755af94be05c572efbe85d49d
This commit is contained in:
Ariel Mashraki
2019-08-25 07:56:46 -07:00
committed by Facebook Github Bot
parent 52292557f6
commit 1248026f43
26 changed files with 2451 additions and 2 deletions

View File

@@ -44,4 +44,9 @@ window.addEventListener('load', function() {
textEl.textContent = 'Copy';
}, 2000);
});
// add an id tag for images based on their alt attribute.
document.querySelectorAll('.container img').forEach(function(el) {
el.id = el.alt;
});
});