De-elephanting
This commit is contained in:
parent
40e4bdcc47
commit
7867151bd7
5 changed files with 4 additions and 4 deletions
|
|
@ -7,11 +7,11 @@ ready(() => {
|
|||
if (!image) return;
|
||||
|
||||
image.addEventListener('mouseenter', () => {
|
||||
image.src = '/oops.gif';
|
||||
image.src = '/error-anim.gif';
|
||||
});
|
||||
|
||||
image.addEventListener('mouseleave', () => {
|
||||
image.src = '/oops.png';
|
||||
image.src = '/error-static.png';
|
||||
});
|
||||
}).catch((e: unknown) => {
|
||||
console.error(e);
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ class BundleColumnError extends PureComponent {
|
|||
return (
|
||||
<Column bindToDocument={!multiColumn}>
|
||||
<div className='error-column'>
|
||||
<GIF src='/oops.gif' staticSrc='/oops.png' className='error-column__image' />
|
||||
<GIF src='/error-anim.gif' staticSrc='/error-static.png' className='error-column__image' />
|
||||
|
||||
<div className='error-column__message'>
|
||||
<h1>{title}</h1>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue