mirror of
https://github.com/ent/ent.git
synced 2026-05-02 07:30:53 +03:00
ent/doc: ui changes for homepage
Reviewed By: alexsn Differential Revision: D17074003 fbshipit-source-id: 7a0088f8eab37dab570eaace5fa836d70bb708ed
This commit is contained in:
committed by
Facebook Github Bot
parent
4c1f28d58f
commit
a964901521
7
doc/website/static/js/custom.js
Normal file
7
doc/website/static/js/custom.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/* eslint-disable */
|
||||
window.addEventListener('load', function() {
|
||||
// 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