ent/doc: ui changes for homepage

Reviewed By: alexsn

Differential Revision: D17074003

fbshipit-source-id: 7a0088f8eab37dab570eaace5fa836d70bb708ed
This commit is contained in:
Ariel Mashraki
2019-08-28 05:24:07 -07:00
committed by Facebook Github Bot
parent 4c1f28d58f
commit a964901521
16 changed files with 138 additions and 263 deletions

View File

@@ -44,9 +44,4 @@ 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;
});
});