mirror of
https://github.com/ent/ent.git
synced 2026-04-30 06:30:55 +03:00
ent/doc: add recursive o2o relation
Reviewed By: alexsn Differential Revision: D17046402 fbshipit-source-id: 0796e289816aed9755af94be05c572efbe85d49d
This commit is contained in:
committed by
Facebook Github Bot
parent
52292557f6
commit
1248026f43
@@ -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;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user