Retrospring/app/javascript/retrospring/features/memes/index.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
321 B
TypeScript
Raw Normal View History

2022-01-13 14:01:42 -08:00
import cheet from 'cheet.js';
export default (): void => {
cheet('up up down down left right left right b a', () => {
document.body.classList.add('fa-spin');
Array.from(document.querySelectorAll('.answerbox__question-text')).forEach((element: HTMLElement) => {
element.innerText = ':^)';
});
});
}